From bf466860341e680f1eea2ee7464c0093a31d18f8 Mon Sep 17 00:00:00 2001 From: Sherif Ramadan Date: Tue, 10 Dec 2013 13:52:31 +0000 Subject: [PATCH] Remove bad example. The variable $juice is not defined. The example doesn't make any sense. Syntactically the interpolation would work had the correct variable name been used. So I'm removing this portion of the example since it doesn't demonstrate anything useful. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332340 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/types/string.xml | 2 -- 1 file changed, 2 deletions(-) diff --git a/language/types/string.xml b/language/types/string.xml index a81c176810..b303f64949 100644 --- a/language/types/string.xml +++ b/language/types/string.xml @@ -542,7 +542,6 @@ $juices = array("apple", "orange", "koolaid1" => "purple"); echo "He drank some $juices[0] juice.".PHP_EOL; echo "He drank some $juices[1] juice.".PHP_EOL; -echo "He drank some juice made of $juice[0]s.".PHP_EOL; // Won't work echo "He drank some $juices[koolaid1] juice.".PHP_EOL; class people { @@ -567,7 +566,6 @@ echo "$people->robert greeted the two $people->smiths."; // Won't work