Posted by Mateusz Markowski on 10/28/06 14:09
hygum napisal(a):
> 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
Could you explain why do you want to do this?
If you have written "$myarray" it means that you know the name of the
array, so you can just write:
echo "\$myarray"
[Back to original message]
|