advanced code snippet search
adampatterson on 05/07/10
echo "<pre>";print_r(get_defined_vars());echo "</pre>";
Report this snippet
I just want to add that this gets all defined vars within the scope of where it's being run. It wont grab everything all the time, especially if you are an object-oriented developer.
You need to login to post a comment.