Date: 07/31/01
- Next message: andy <email protected>: "[PHP-DEV] Bug #12438 Updated: PHP creates problem with ASP pages."
- Previous message: andy <email protected>: "[PHP-DEV] Bug #12484 Updated: Want to construct JPGS with GD how to config"
- In reply to: jcrutch <email protected>: "[PHP-DEV] Bug #12437: string incrementing is different from before"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 12437
Updated by: andy
Reported By: jcrutch <email protected>
Old Status: Open
Status: Bogus
Bug Type: Strings related
Operating System: Linux RH 7.1
PHP Version: 4.0.6
New Comment:
no bug here...
Previous Comments:
------------------------------------------------------------------------
[2001-07-27 18:43:53] jcrutch <email protected>
when incrementing a numerical string with leading zeros with the '++' operator, the result is different in 4.0.6 than in eariler version of PHP.
for example:
for($i="01";$i<="10";$i++)
{
echo $i." ";
}
in 4.0.5 the output was
>>> 01 02 03 04 05 06 07 08 09 10
but in 4.0.6 the output is
>>> 01 2 3 4 5 6 7 8 9 10
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=12437&edit=1
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: andy <email protected>: "[PHP-DEV] Bug #12438 Updated: PHP creates problem with ASP pages."
- Previous message: andy <email protected>: "[PHP-DEV] Bug #12484 Updated: Want to construct JPGS with GD how to config"
- In reply to: jcrutch <email protected>: "[PHP-DEV] Bug #12437: string incrementing is different from before"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

