RE: [PHP-DEV] RE: Bug #2965

2002-11-28 Thread John Coggeshall
That's not the issue... In C, the behavior is to actually print the alphabet A-Z... It looks like our implementation is messed up, but the bug report is a bit misleading as to if I should fix the documentation to say you CAN'T do this, or fix the code so you can :) John -Original

RE: [PHP-DEV] RE: Bug #2965

2002-11-28 Thread Rick Widmer
At 07:09 PM 11/28/02 -0500, John Coggeshall wrote: That's not the issue... In C, the behavior is to actually print the alphabet A-Z... It looks like our implementation is messed up, but the bug report is a bit misleading as to if I should fix the documentation to say you CAN'T do this, or fix

RE: [PHP-DEV] RE: Bug #2965

2002-11-28 Thread John Coggeshall
I'm conflicted on this one. On the one hand you've got PHP somewhat at fault for treating letters as special characters (such that 'Z'+1 == 'AA') rather than as their ordinal equivalents (such that 'Z'+1 == ord('Z')+1 == 91 == ord('[') == '[' ) which IMO is an ugly thing. I personally like