From:             [EMAIL PROTECTED]
Operating system: RedHat Linux 7.0
PHP version:      4.0.6
PHP Bug Type:     Scripting Engine problem
Bug description:  Short form of if-clause

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 bug report at: http://bugs.php.net/?id=12244&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]

Reply via email to