Doc #53614 [Ver->Csd]: Strings variable parsing - problematic example among complex syntax examples
| From: | cmb@php.net | Date: | Tue, 14 Jun 2016 13:43:23 +0000 |
| Subject: | Doc #53614 [Ver->Csd]: Strings variable parsing - problematic example among complex syntax examples | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-13510@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=53614&edit=1
ID: 53614
Updated by: cmb@php.net
Reported by: chealer at gmail dot com
Summary: Strings variable parsing - problematic example among
complex syntax examples
-Status: Verified
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation better.
Previous Comments:
------------------------------------------------------------------------
[2016-06-14 13:42:55] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=339345
Log: Fix #53614: Strings variable parsing - problematic example among complex syntax examples
------------------------------------------------------------------------
[2015-05-08 17:32:42] cmb@php.net
${great} is a variation of the simple syntax ("Enclose the variable name in curly braces to
explicitly specify the end of the name."), and so the example should be moved up one section.
------------------------------------------------------------------------
[2011-02-10 19:26:21] rquadling@php.net
Aha. I see what you mean. The documentation says "Since { can not be escaped, this syntax will
only be recognised when the $ immediately follows the {."
This makes no mention of "{ immediately following the $".
In fact, that looks SO wrong that I'm surprised it isn't a parse error.
I don't know how to explain the usage.
------------------------------------------------------------------------
[2011-02-10 18:58:41] chealer at gmail dot com
rquadling: who, me? That page is the one with the problem.
------------------------------------------------------------------------
[2011-02-10 18:53:45] rquadling@php.net
See http://docs.php.net/manual/en/language.types.string.php#language.types.string.parsing.complex
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=53614
--
Edit this bug report at https://bugs.php.net/bug.php?id=53614&edit=1