#36280 [Opn]: Character increment - problems with non-english chars
| From: | tony2001@php.net | Date: | Sat, 04 Feb 2006 11:46:12 +0000 |
| Subject: | #36280 [Opn]: Character increment - problems with non-english chars | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969371811@lists.php.net to get a copy of this message | ||
ID: 36280
Updated by: tony2001@php.net
Reported By: dekelb at gmail dot com
Status: Open
-Bug Type: *General Issues
+Bug Type: Documentation problem
PHP Version: 4.4.2
New Comment:
Yes, characters that are not in a-zA-Z not supported.
Reclassified as docu problem.
Previous Comments:
------------------------------------------------------------------------
[2006-02-04 05:31:20] dekelb at gmail dot com
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 this bug report at http://bugs.php.net/?id=36280&edit=1