svn: /phpdoc/en/trunk/language/types/ string.xml
| From: | Christoph Michael Becker | Date: | Thu, 23 Jun 2016 23:57:55 +0000 |
| Subject: | svn: /phpdoc/en/trunk/language/types/ string.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-14241@lists.php.net to get a copy of this message | ||
cmb Thu, 23 Jun 2016 23:57:55 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=339469
Log:
Fix #69234: Escaped single quotes within double quotes not recognized
Bug: https://bugs.php.net/69234 (Open) Escaped single
quotes within double quotes not recognized
Changed paths:
U phpdoc/en/trunk/language/types/string.xml
Modified: phpdoc/en/trunk/language/types/string.xml
===================================================================
--- phpdoc/en/trunk/language/types/string.xml 2016-06-23 21:54:22 UTC (rev 339468)
+++ phpdoc/en/trunk/language/types/string.xml 2016-06-23 23:57:55 UTC (rev 339469)
@@ -191,6 +191,11 @@
</table>
<para>
+ Note that <literal>\'</literal> is <emphasis>not</emphasis>
recognized as
+ escape character.
+ </para>
+
+ <para>
As in single quoted <type>string</type>s, escaping any other character will
result in the backslash being printed too. Before PHP 5.1.1, the backslash
in <literal>\{$var}</literal> had not been printed.