#42746 [Bgs->Csd]: '\u' char in single quotes gets interepreted.
| From: | tony2001@php.net | Date: | Wed, 03 Oct 2007 18:38:59 +0000 |
| Subject: | #42746 [Bgs->Csd]: '\u' char in single quotes gets interepreted. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-118156@lists.php.net to get a copy of this message | ||
ID: 42746
Updated by: tony2001@php.net
Reported By: mahesh dot vemula at in dot ibm dot com
-Status: Bogus
+Status: Closed
Bug Type: *Unicode Issues
Operating System: Linux, Windows XP
PHP Version: 6CVS-2007-09-24 (SNAP)
Assigned To: tony2001
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2007-10-02 16:58:13] andrei@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
This is by design.
See "Language Modifications" section in:
http://cvs.php.net/viewvc.cgi/php-src/README.UNICODE?revision=1.8
------------------------------------------------------------------------
[2007-09-24 10:34:10] mahesh dot vemula at in dot ibm dot com
Description:
------------
'\u' escape sequence char in single quotes('') is being interpreted by
PHP6.
Reproduce code:
---------------
<?php
var_dump("\u1234");
var_dump('\u1234');
?>
Expected result:
----------------
unicode(1) "ሴ"
unicode(6) "\u1234"
Actual result:
--------------
unicode(1) "ሴ"
unicode(1) "ሴ"
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42746&edit=1