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

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

 



php tigger is right i think.

Because of Zend engine parse line by line.(I can't use English give
expression to it with My Poor English).

It mean that (What I think) unset function is right parse but error
for is parameter.

Tigger Display :"Warning: Wrong parameter count for unset ...." what
is your think.
But Developer want it backend  compatibility  that I guess.
See
http://us.php.net/manual/en/function.unset.php

change logs
4.0.1 Added support for multiple arguments.
4.0.0 unset() became an expression. (In PHP 3, unset() would always return 1).


2009/8/25 tedd <tedd.sperling@xxxxxxxxx>:
> At 2:31 PM +0100 8/25/09, Stuart wrote:
>>
>> Please don't reply directly unless you intend to pay me for my time.
>>
>> 2009/8/25 Ralph Deffke <ralph_deffke@xxxxxxxx>:
>>>
>>>  sorry but its about the top topic it say it never does an error if u
>>> dont
>>>  give an argument
>>
>> I accept that your English is not great, but given that you should be
>> a bit more careful.
>>
>> The OP said "is it the case that unset() does not trigger an error or
>> throw an exception if it's argument was never set?". That does not say
>> "if you don't give an argument". Not even close.
>>
>> -Stuart
>
> I can't believe that you are wasting time on this. This guy is beyond
> clueless.
>
> Cheers,
>
> tedd
>
> --
> -------
> http://sperling.com  http://ancientstones.com  http://earthstones.com
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.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