SplFileInfo::isWritable

(PHP 5 >= 5.1.2, PHP 7, PHP 8)

SplFileInfo::isWritableIndique si on peut écrire dans un fichier

Description

public SplFileInfo::isWritable(): bool

Vérifie si le fichier a les autorisations en écriture.

Liste de paramètres

Cette fonction ne contient aucun paramètre.

Valeurs de retour

Retourne true si le fichier peut être écrit, et false sinon;

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top