ID: 12244
Updated by: cynic
Old Status: Open
Status: Bogus
Bug Type: Scripting Engine problem
Operating System: RedHat Linux 7.0
PHP Version: 4.0.6
New Comment:

please read the trinary op. man page carefully. you obvously misunderstood its purpose.

Previous Comments:

[2001-07-19 04:12:58] [EMAIL PROTECTED]

Hi there,

not a bug, but a suggestion:

if ($foo==4) $foo=3;

in short form:

$foo==4 ? $foo=3 : 1;

it would be nice if that where possible:

$foo==4 ? $foo=3; (without else string)

i didnt know where to post else. please cc to me cauze i'm not on the list.


Edit this bug report at

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to