Re: svn: /phpdoc/en/trunk/language/types/ string.xml
| From: | Peter Cowburn | Date: | Fri, 24 Jun 2016 08:00:24 +0000 |
| Subject: | Re: svn: /phpdoc/en/trunk/language/types/ string.xml | ||
| References: | 1 | Groups: | php.doc.cvs |
| Request: | Send a blank email to doc-cvs+get-14242@lists.php.net to get a copy of this message | ||
On 24 June 2016 at 00:57, Christoph Michael Becker <cmb@php.net> wrote:
> 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>
>
This doesn't make sense. Did you mean "as an escaped character"?
Also, I would like to see "PHP will interpret more escape sequences for
special characters:" (where the problem was "more", which gave some people
the impression that we meant "in addition to those mentioned above for
single-quoted strings) be changed to say something like "PHP will interpret
the following escape sequences for special characters:", rather than adding
in the note from this commit.
+
> + <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.
>
>
> --
> PHP Documentation Commits Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>