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

From: Date: Tue, 25 Aug 2009 14:51:47 +0000
Subject: Re: Re: unset() something that doesn't exist
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.general 
Request: Send a blank email to php-general+get-297198@lists.php.net to get a copy of this message
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@gmail.com>: > 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@yahoo.de>: >>> >>>  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 > >

« previous php.general (#297198) next »