ID: 42874
Updated by: [EMAIL PROTECTED]
Reported By: rc at opelgt dot org
-Status: Open
+Status: Bogus
Bug Type: Feature/Change Request
Operating System: all
PHP Version: 5.2.4
New Comment:
This is not possible since the variable container doesn't know anything
about a name and also might have 0 or multiple names. You can simply
print more information when needed.
Previous Comments:
------------------------------------------------------------------------
[2007-10-06 09:59:46] rc at opelgt dot org
Description:
------------
When using print_r for debugging it would be nice to see the name of
the array. When the default maybe remains without name an additional
parameter could say if the name of the array shall be displayed too
(or a new function name print_rv with v for verbose?).
now:
Array
(
[0] => K02
[1] => K03
[2] => K01
[3] => K04
[4] => K09
)
proposal:
Array arrayname
(
[0] => K02
[1] => K03
[2] => K01
[3] => K04
[4] => K09
)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42874&edit=1