colder Wed Dec 6 17:58:20 2006 UTC
Modified files:
/phpdoc/en/language functions.xml
Log:
NULL won't trigger the default value
http://cvs.php.net/viewvc.cgi/phpdoc/en/language/functions.xml?r1=1.63&r2=1.64&diff_format=u
Index: phpdoc/en/language/functions.xml
diff -u phpdoc/en/language/functions.xml:1.63
phpdoc/en/language/functions.xml:1.64
--- phpdoc/en/language/functions.xml:1.63 Thu Aug 31 17:55:45 2006
+++ phpdoc/en/language/functions.xml Wed Dec 6 17:58:20 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.63 $ -->
+<!-- $Revision: 1.64 $ -->
<chapter id="language.functions">
<title>Functions</title>
@@ -259,6 +259,7 @@
return "Making a cup of $type.\n";
}
echo makecoffee();
+echo makecoffee(null);
echo makecoffee("espresso");
?>
]]>
@@ -272,6 +273,7 @@
<para>
<screen>
Making a cup of cappuccino.
+Making a cup of .
Making a cup of espresso.
</screen>
</para>