Archive

Posts Tagged ‘remove variable’

Unset or Destroys Variable in PhP

January 7th, 2008 No comments
Unset or Destroys Variable in PhP unset() destroys the specified variables. <?php // remove a single variable unset($a); // remove a single element in an array unset($my_array['element']); // remove multiple variables unset($a, $b, $c); ?> The behavior of unset() inside of a function can vary depending on what type of variable you are attempting to ...
GoCache - ByREV-Cache v1.0 - live served in : 0.327405 sec (gzip)