summaryrefslogtreecommitdiff
path: root/README.UNICODE
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2007-10-03 18:38:35 +0000
committerAntony Dovgal <tony2001@php.net>2007-10-03 18:38:35 +0000
commitc53602571de201341916a267e13080c1df5e5c2d (patch)
tree5d464c603745c937673ef5809d02dfcff5eccabc /README.UNICODE
parent55d3a263f04c75a3436c18c0e5d48973785953ad (diff)
downloadphp-git-c53602571de201341916a267e13080c1df5e5c2d.tar.gz
remove \u, \U and \C support in single quotes, as they are meant to contain binary data only and no escape sequences except \'
fixes bug #42746
Diffstat (limited to 'README.UNICODE')
-rw-r--r--README.UNICODE5
1 files changed, 0 insertions, 5 deletions
diff --git a/README.UNICODE b/README.UNICODE
index d2cce26426..14d415f7b4 100644
--- a/README.UNICODE
+++ b/README.UNICODE
@@ -460,11 +460,6 @@ PHP interprets the contents of strings as follows:
- a new escape sequence allows specifying a character by its full
Unicode name, e.g. \C{THAI CHARACTER PHO SAMPHAO} => U+0E20
-The single-quoted string is more restrictive than the other two types. So far
-the only escape sequence allowed inside of it was \', which specifies a literal
-single quote. However, single quoted strings now support the new Unicode
-character escape sequences as well.
-
PHP allows variable interpolation inside the double-quoted and heredoc strings.
However, the parser separates the string into literal and variable chunks during
compilation, e.g. "abc $var def" -> "abc" . $var . "def". This means that PHP