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

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

 



2009/8/25 Ralph Deffke <ralph_deffke@xxxxxxxx>:
> causes an error
> Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `'$'' in
> C:\wamp\www\TinyCreator\testCrapp6.php on line 42

This is a syntax error, not a runtime error. You've clearly done
something wrong.

> "Tom Worster" <fsb@xxxxxxxxxx> wrote in message
> news:C6B87877.11463%fsb@xxxxxxxxxxxxx
>> is it the case that unset() does not trigger an error or throw an
> exception
>> if it's argument was never set?

Absolutely.

-Stuart

-- 
http://stut.net/

-- 
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