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