RE: Re: unset() something that doesn't exist

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The function is described as "void unset  ( mixed $var  [, mixed $var  [,
mixed $...  ]] )"

You should use unset($a); in that case.



-----Mensaje original-----
De: Ralph Deffke [mailto:ralph_deffke@xxxxxxxx] 
Enviado el: martes, 25 de agosto de 2009 13:07
Para: php-general@xxxxxxxxxxxxx
Asunto: Re:  Re: unset() something that doesn't exist

<?php

$a = "bhsdhjk";

unset();
?>

Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `'$'' in
C:\wamp\www\TinyCreator\testCrapp8.php on line 5


"the function! doen't exist its a language construct

http://us.php.net/manual/en/function.unset.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux