Re: unset() something that doesn't exist
| From: | Ralph Deffke | Date: | Tue, 25 Aug 2009 08:35:42 +0000 |
| Subject: | Re: unset() something that doesn't exist | ||
| References: | 1 2 3 | Groups: | php.general php.general |
| Request: | Send a blank email to php-general+get-297169@lists.php.net to get a copy of this message | ||
yes it does on my machine
and it makes sence since it is not a function its a language construct.
cheers
ralph_deffke@yahoo.de
"Shawn McKenzie" <nospam@mckenzies.net> wrote in message
news:4A935C42.2010002@mckenzies.net...
> Ralph Deffke wrote:
> > causes an error
> > Parse error: parse error, expecting
T_STRING' or
> > T_VARIABLE' or `'$''
in
> > C:\wamp\www\TinyCreator\testCrapp6.php on line 42
> >
> > "Tom Worster" <fsb@thefsb.org> wrote in message
> > news:C6B87877.11463%fsb@thefsb.org...
> >> is it the case that unset() does not trigger an error or throw an
> > exception
> >> if it's argument was never set?
> >>
> >>
> >
> >
>
> What!?!?
>
>
> No, It does not cause an error, not even a notice.
>
> --
> Thanks!
> -Shawn
> http://www.spidean.com