Re: Bug #15328 Updated: A C-like comma operator would be useful

From: Date: Fri, 01 Feb 2002 20:09:15 +0000
Subject: Re: Bug #15328 Updated: A C-like comma operator would be useful
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-78810@lists.php.net to get a copy of this message
On Fri, 2002-02-01 at 11:49, derick@php.net wrote: > ID: 15328 > Updated by: derick@php.net > Reported By: hek@loudoun-net.com > Old Status: Open > Status: Bogus > Bug Type: Feature/Change Request > Operating System: N/A > PHP Version: 4.1.1 > New Comment: > > not likely to be implemented... bogussing. I hardly think it's fair to Bogus a bug request because one person thinks it's unlikely to be implemented. Even if the request is denied, it should only be Closed (instead of Bogussed) unless it's another one of those damn 'PHP should detect infinite loops' requests. ;) Just IMHO. Torben > Previous Comments: > ------------------------------------------------------------------------ > > [2002-02-01 13:42:17] hek@loudoun-net.com > > A C-like comma operator would be useful, to string together series of > statements. > > Example: > > echo ( $precondition > ? ( doThisAndDiscardReturnValue(), > andDoThisAndReturnReturnValue() ) > : doSomethingElseAndReturnReturnValue() ); > > ------------------------------------------------------------------------ > > > > Edit this bug report at > http://bugs.php.net/?id=15328&edit=1 > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > -- Torben Wilson <torben@php.net> http://www.thebuttlesschaps.com http://www.hybrid17.com http://www.inflatableeye.com +1.604.709.0506

« previous php.dev (#78810) next »