unset

De functie unset verwijdert een variabele uit het geheugen.

Voorbeeld

<?php
$a = 1;
isset($a); //true
unset($a);
isset($a); //false
?>

Verwante functies



Referentie op PHP.net

Copyright © 2011 - Php-leren.nl