Doc #53240 [Bgs]: Strings variable parsing - complex syntax
| From: | rquadling@php.net | Date: | Thu, 04 Nov 2010 16:17:38 +0000 |
| Subject: | Doc #53240 [Bgs]: Strings variable parsing - complex syntax | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-5464@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=53240&edit=1
ID: 53240
Updated by: rquadling@php.net
Reported by: chealer at gmail dot com
Summary: Strings variable parsing - complex syntax
Status: Bogus
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
-Assigned To:
+Assigned To: rquadling
Block user comment: N
New Comment:
Aha! Actually "array variables" cannot be include as such. Doing so
would output
"Array".
But " Any scalar variable, array element or object property" certainly
makes more
sense.
Thank you.
Previous Comments:
------------------------------------------------------------------------
[2010-11-04 16:56:40] chealer at gmail dot com
The documentation indicates array variables can be included. The problem
is it does not indicate the possibility to include ******ELEMENTS
OF****** array variables.
------------------------------------------------------------------------
[2010-11-04 11:20:18] rquadling@php.net
DOC : "Any scalar variable, >>>array variable<<< or object property with
a string representation".
YOU : "does not indicate that the complex syntax allows accessing
elements of >>>array variable<<<s"
------------------------------------------------------------------------
[2010-11-04 03:30:10] chealer at gmail dot com
Description:
------------
To continue http://bugs.php.net/bug.php?id=52897
which remains closed,
the new documentation text - "Any scalar variable, array variable or
object property with a string representation can be included via this
syntax." - does not indicate that the complex syntax allows accessing
elements of array variables ({$arr['bar]}).
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=53240&edit=1