From 568b69c9946e6143e7d3bd5607affe9494e682c8 Mon Sep 17 00:00:00 2001 From: Richard Quadling Date: Thu, 4 Nov 2010 16:18:15 +0000 Subject: [PATCH] array elements, not array variables. Fix bug #53240 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305086 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/types/string.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/language/types/string.xml b/language/types/string.xml index d023c04579..7528014c39 100644 --- a/language/types/string.xml +++ b/language/types/string.xml @@ -588,7 +588,7 @@ echo "This square is $square->{width}00 centimeters broad."; - Any scalar variable, array variable or object property with a + Any scalar variable, array element or object property with a string representation can be included via this syntax. Simply write the expression the same way as it would appear outside the string, and then wrap it in { and