Unset Is Now a Statement, Not a Function


That means unset() is declared in the parser itself, rather than as an entry in PHP's function tables.

Valid in PHP 3

 <?php $var = "Hello"; $ret = unset($var); ?> 

Valid in PHP 4

 <?php $var = "Hello"; unset($var); ?> 


PHP Developer's Cookbook
PHP Developers Cookbook (2nd Edition)
ISBN: 0672323257
EAN: 2147483647
Year: 2000
Pages: 351

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net