Manuel PHP
Précédent
Suivant
isset() renvoie TRUE si la variable var est définie, FALSE sinon.
Si une variable a été désaffectée avec la fonction unset(), la fonction isset() renverra FALSE.
?php $a = "test"; echo isset ($a); / / TRUE unset($a); echo isset ($a); / / FALSE ?php $a = "test"; echo isset ($a); / / TRUE unset($a); echo isset ($a); / / FALSE?
Voir aussi empty() et unset().
Précédent
Sommaire
Suivant
Niveau supérieur