ID: 12566
Updated by: jeroen
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: *Programming Data Structures
Operating System: Linux
PHP Version: 4.0.6
New Comment:
Confirmed in latest CVS:
---
echo TRUE ? 'one' : TRUE ? 'two' : 'unknown';
= two
---
echo TRUE ? 'one' : FALSE ? 'two' :
ID: 12566
Updated by: jeroen
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: *Programming Data Structures
Operating System: Linux
PHP Version: 4.0.6
New Comment:
[EMAIL PROTECTED]:
It's not a bug, but a feature. :)
PHP has the inverse associativity of ?: compared to C (and every
See some messages I had on php-dev back around the first week of January,
2001 on this topic. FWIW, I would like to change it.
On http://marc.theaimsgroup.com/?w=4r=1s=trachtenbergq=a ,
I could only find messages about break/continue in switch statements...
Am I overlooking something? Of did