Fixed bug#42577 (lill' mistake in echo's manpage)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@242233 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Hannes Magnusson 2007-09-06 13:16:38 +00:00
parent 804e9a7157
commit 0156acd4e7

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.20 $ -->
<!-- $Revision: 1.21 $ -->
<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://docbook.org/ns/docbook" xml:id="function.echo">
<refnamediv>
<refname>echo</refname>
@ -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