From: dekelb at gmail dot com Operating system: PHP version: 4.4.2 PHP Bug Type: *General Issues Bug description: Character increment - problems with non-english chars
Description: ------------ I've search for similar bug, but nothing found. If I missed it please ignore this post :) The manual mentioned the character increment, but there is no reference for English characters only. When I'm trying character increment on Hebrew chars (and I guess with any non-english chars it will be the same) the output of the script is just the same as the original char: <? $a = "à" echo ++$a; ?> The expected result is the following char (which is "á"), but the result is the same char. Notice that ++ on "à9" results with 9 changes to 0, but the Hebrew char isn't incremented. (The encoding I used for this post is windows-1255/iso-8859-8-i). -- Edit bug report at http://bugs.php.net/?id=36280&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36280&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36280&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36280&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=36280&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=36280&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=36280&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=36280&r=needscript Try newer version: http://bugs.php.net/fix.php?id=36280&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=36280&r=support Expected behavior: http://bugs.php.net/fix.php?id=36280&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=36280&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=36280&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=36280&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36280&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=36280&r=dst IIS Stability: http://bugs.php.net/fix.php?id=36280&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=36280&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=36280&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=36280&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=36280&r=mysqlcfg