diff --git a/reference/strings/functions/echo.xml b/reference/strings/functions/echo.xml index 2b08bd2c68..13afe4f268 100644 --- a/reference/strings/functions/echo.xml +++ b/reference/strings/functions/echo.xml @@ -1,5 +1,5 @@ - + echo @@ -96,9 +96,9 @@ $bar = "barbaz"; echo "foo is $foo"; // foo is foobar // You can also use arrays -$bar = array("value" => "foo"); +$baz = array("value" => "foo"); -echo "this is {$bar['value']} !"; // this is foo ! +echo "this is {$baz['value']} !"; // this is foo ! // Using single quotes will print the variable name, not the value echo 'foo is $foo'; // foo is $foo