mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
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:
parent
804e9a7157
commit
0156acd4e7
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue