From 262c655b6f3adadcd2ececd217dbec258d8812f3 Mon Sep 17 00:00:00 2001 From: Etienne Kneuss Date: Wed, 6 Dec 2006 17:58:20 +0000 Subject: [PATCH] NULL won't trigger the default value git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@224489 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/functions.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/language/functions.xml b/language/functions.xml index f8d374ef15..0228f9a17d 100644 --- a/language/functions.xml +++ b/language/functions.xml @@ -1,5 +1,5 @@ - + Functions @@ -259,6 +259,7 @@ function makecoffee($type = "cappuccino") return "Making a cup of $type.\n"; } echo makecoffee(); +echo makecoffee(null); echo makecoffee("espresso"); ?> ]]> @@ -272,6 +273,7 @@ echo makecoffee("espresso"); Making a cup of cappuccino. +Making a cup of . Making a cup of espresso.