From: [EMAIL PROTECTED] Operating system: N/A PHP version: 4.1.1 PHP Bug Type: Feature/Change Request Bug description: A C-like comma operator would be useful
A C-like comma operator would be useful, to string together series of statements. Example: echo ( $precondition ? ( doThisAndDiscardReturnValue(), andDoThisAndReturnReturnValue() ) : doSomethingElseAndReturnReturnValue() ); -- Edit bug report at: http://bugs.php.net/?id=15328&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]