Posted by Colin Fine on 10/29/06 18:42
hygum wrote:
> is there a function, that can echo/print the name of an array, so when
> i dump the array, it also says the name? For instance:
>
> echo array_name($myarray);
>
> outputs:
> myarray
>
It's hard to see how there could be.
$myarray = array( ... );
$otherarray = &$myarray;
Then you want
array_name($myarray);
to produce a different result from
array_name($otherarray);
Do you see the problem?
Colin
Navigation:
[Reply to this message]
|