bjori           Thu Sep  6 13:16:39 2007 UTC

  Modified files:              
    /phpdoc/en/reference/strings/functions      echo.xml 
  Log:
  Fixed bug#42577 (lill' mistake in echo's manpage)
  
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/strings/functions/echo.xml?r1=1.20&r2=1.21&diff_format=u
Index: phpdoc/en/reference/strings/functions/echo.xml
diff -u phpdoc/en/reference/strings/functions/echo.xml:1.20 
phpdoc/en/reference/strings/functions/echo.xml:1.21
--- phpdoc/en/reference/strings/functions/echo.xml:1.20 Wed Jun 20 22:25:29 2007
+++ phpdoc/en/reference/strings/functions/echo.xml      Thu Sep  6 13:16:38 2007
@@ -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 @@
 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

Reply via email to