Bug #13871 Updated: 'for()'-error using chars as break
| From: | brianlmoon@php.net | Date: | Tue, 30 Oct 2001 14:55:33 +0000 |
| Subject: | Bug #13871 Updated: 'for()'-error using chars as break | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-69333@lists.php.net to get a copy of this message | ||
ID: 13871
Updated by: brianlmoon
Reported By: Martin.Schmitz@Uni-Bielefeld.de
Old Status: Open
Status: Bogus
Bug Type: *Programming Data Structures
Operating System: Linux
PHP Version: 4.0.6
New Comment:
The ++ only works with numeric variables. Try the example that was emailed to you.
Previous Comments:
------------------------------------------------------------------------
[2001-10-30 09:15:49] Martin.Schmitz@Uni-Bielefeld.de
<?PHP
for($i='A'; $i<='Z'; $i++){
echo $i;
}
?>
// I hoped to see 'A B C....Y Z'
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13871&edit=1