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

From: Date: Tue, 25 Aug 2009 12:44:32 +0000
Subject: RE: [PHP] Re: unset() something that doesn't exist
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-297186@lists.php.net to get a copy of this message
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@yahoo.de] Enviado el: martes, 25 de agosto de 2009 13:07 Para: php-general@lists.php.net Asunto: Re: [PHP] 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

« previous php.general (#297186) next »