’; print_r(get_defined_vars()); echo ‘
’; ?>
This is just giving me the arrays for defined variables but not pr
Have you tried:
var_dump(get_defined_vars());
http://php.net/manual/en/function.var-dump.php
The php documentation should help.
You can make your own debug output, by iterating through the array of returned to display gettype, value and name. However, the where it was defined, how much its been used, you cant do. PHP doesnt work that way