From 1f9807245a7e6aa840fc4f2f88eb2c2b6c78b22f Mon Sep 17 00:00:00 2001 From: Peter Cowburn Date: Wed, 13 Jan 2010 09:20:38 +0000 Subject: [PATCH] Clarify use of return parameter. Fixes #50730 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@293493 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/var/functions/print-r.xml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/reference/var/functions/print-r.xml b/reference/var/functions/print-r.xml index 8583828010..dea7222243 100644 --- a/reference/var/functions/print-r.xml +++ b/reference/var/functions/print-r.xml @@ -49,9 +49,8 @@ If you would like to capture the output of print_r, - use the return parameter. If this parameter is set - to &true;, print_r will return its output, instead of - printing it (which it does by default). + use the return parameter. When this parameter is set + to &true;, print_r will return the information rather than print it. @@ -67,6 +66,10 @@ will be presented in a format that shows keys and elements. Similar notation is used for objects. + + When the return parameter is &true;, this function + will return a string. Otherwise, the return value is &true;. +