#40980 [Opn]: Incorrect output labeled on print_r
| From: | rquadling@php.net | Date: | Thu, 05 Apr 2007 09:55:14 +0000 |
| Subject: | #40980 [Opn]: Incorrect output labeled on print_r | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969376007@lists.php.net to get a copy of this message | ||
ID: 40980
Updated by: rquadling@php.net
Reported By: php at htmlland dot net
Status: Open
Bug Type: Documentation problem
Operating System: N/A
PHP Version: Irrelevant
New Comment:
The return parameter was added in PHP4.3.0 and this does change the
return type.
As this is the current way print_r() operates, then I agree with you
that it should and that the old behaviour should be recorded.
Previous Comments:
------------------------------------------------------------------------
[2007-04-02 18:29:15] php at htmlland dot net
Description:
------------
Shoulden't the return on print_r() be mixed not bool as shown on the
documentation page? I say this because the return parameter changes the
output returned to a string not a bool.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40980&edit=1