|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13871 'for()'-error using chars as break
Submitted: 2001-10-30 09:15 UTC Modified: 2001-10-30 09:55 UTC
From: Martin dot Schmitz at Uni-Bielefeld dot de Assigned:
Status: Not a bug Package: *Programming Data Structures
PHP Version: 4.0.6 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
30 + 1 = ?
Subscribe to this entry?

 [2001-10-30 09:15 UTC] Martin dot Schmitz at Uni-Bielefeld dot de

for($i='A'; $i<='Z'; $i++){
  echo $i;


// I hoped to see 'A B C....Y Z'


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-30 09:55 UTC]
The ++ only works with numeric variables.  Try the example that was emailed to you.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed Aug 17 03:05:44 2022 UTC