ID: 42876
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:
Still not possible, unless you can solve this in PHP:
<?php
function foo($a) {
// How do you print $foo here? - Right it's impossible.
}
f($foo);
?>
Previous Comments:
------------------------------------------------------------------------
[2007-10-06 11:55:05] rc at opelgt dot org
Description:
------------
Keeping in mind that print_r is a function this
function should know its parameters. Shouldn't it?
So when i use print_r($class);
why not outputting
Array $class
(
[0] => K02
[1] => K03
[2] => K01
[3] => K04
[4] => K09
)
?
I know what I can do myself, but I think it would be of comfort when
php itself would mention the name of the shown array.
Do you understand me?
Extending this functions features should not have any disadvantages
except implementing maybe one line of code.
Kind regards, RĂ¼diger
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42876&edit=1