From 4fcd32a39abfa4a8106e48ccbb2152aeb543a0ae Mon Sep 17 00:00:00 2001 From: Kalle Sommer Nielsen Date: Wed, 13 Jan 2010 02:17:49 +0000 Subject: [PATCH] Fixed output boxes, reported by Yawk @ #php.doc on EFNet git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@293480 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/functions.xml | 46 +++++++++++++++++------------------------- 1 file changed, 18 insertions(+), 28 deletions(-) diff --git a/language/functions.xml b/language/functions.xml index dd3b1a9ade..b6b4434381 100644 --- a/language/functions.xml +++ b/language/functions.xml @@ -255,18 +255,15 @@ echo makecoffee("espresso"); ?> ]]> - - - - - The output from the above snippet is: - - - + &example.outputs; + + +]]> + + PHP also allows the use of arrays and the special type &null; @@ -315,18 +312,15 @@ echo makeyogurt("raspberry"); // won't work as expected ?> ]]> - - - - - The output of the above example is: - - - + &example.outputs; + + +]]> + + Now, compare the above with this: @@ -346,18 +340,14 @@ echo makeyogurt("raspberry"); // works as expected ?> ]]> + &example.outputs; + + + - - - The output of this example is: - - - -Making a bowl of acidophilus raspberry. - - - As of PHP 5, default values may be passed by reference.