Another one

[email protected] ("Andrey Hristov") Wed, 12 Mar 2003 19:34:40 +0200
Newsgroups php.dev
Message-ID <01d401c2e8bd$a94f1370$1601a8c0@andreywin>
The following :
<?php
$a = 1;
$b = $a==1? 4,5:6;
printf("a[%d]b[%d]\n", $a, $b);
?>
gives Parse error: parse error, unexpected ',' in /home/storage/ternary.php
on line 3

Similar C program compiles without problems.

Is this also known?

Andrey

P.S.
I obey I won't search for more such stuff today :)