#50730 [Opn->Bgs]: suggest changing which is does by default--ambiguous
| From: | rquadling@php.net | Date: | Tue, 12 Jan 2010 16:31:04 +0000 |
| Subject: | #50730 [Opn->Bgs]: suggest changing which is does by default--ambiguous | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-3680@lists.php.net to get a copy of this message | ||
ID: 50730
Updated by: rquadling@php.net
Reported By: dave at deltatns dot com
-Status: Open
+Status: Bogus
Bug Type: Documentation problem
Operating System: wamp
PHP Version: Irrelevant
New Comment:
The default is clearly identified in the description.
mixed print_r ( mixed $expression [, bool $return = false ] )
Previous Comments:
------------------------------------------------------------------------
[2010-01-12 15:43:34] dave at deltatns dot com
Description:
------------
in the print_r section called Parameters:
I would suggest changing
"If this parameter is set to TRUE, print_r() will return its output,
instead of printing it (which it does by default). "
to "...its output ( return=false, the default setting will print it)"
or some other phrase to remove the ambiguity of what the default might
be.
I am slower than most people. It took me 15 seconds or so to not read
the above with the meaning true will print it. very low priority and
maybe not worth doing...just FYI of my read of it.
The manual is a really valuable resource,which I use constantly. I am
very grateful to all who have contributed and worked on it. Thanks
Dave
Reproduce code:
---------------
---
From manual page: function.print-r#Parameters
---
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=50730&edit=1