advanced code snippet search
adampatterson on 05/07/10
variables defined
05/07/10 11:46am
echo "<pre>";print_r(get_defined_vars());echo "</pre>";
Report this snippet Tweet
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.
Comment:
You need to login to post a comment.
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.