[PHP-DEV] Bug #10529 Updated: for() error

2001-04-29 Thread andi
ID: 10529 Updated by: andi Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Unknown/Other Function PHP Version: 4.0.4pl1 Assigned To: Comments: This happens because PHP works on strings and the increment of "Z" as a string is "AA". "AA" is smaller than "Z". Andi Prev

[PHP-DEV] Bug #10529 Updated: for() error

2001-04-27 Thread cnewbill
ID: 10529 Updated by: cnewbill Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Unknown/Other Function PHP Version: 4.0.4pl1 Assigned To: Comments: I'm not even sure that is supposed to work like that. Guys? Why don't you use this instead? for ($i = ord('A'); $i