schilly Posted May 20, 2009 Share Posted May 20, 2009 is this possible without having to dump all the vars you've declared individually? thx. Link to comment https://forums.phpfreaks.com/topic/158939-solved-easy-way-to-dump-all-php-vars/ Share on other sites More sharing options...
Masna Posted May 20, 2009 Share Posted May 20, 2009 var_dump(get_defined_vars()); Link to comment https://forums.phpfreaks.com/topic/158939-solved-easy-way-to-dump-all-php-vars/#findComment-838262 Share on other sites More sharing options...
Maq Posted May 20, 2009 Share Posted May 20, 2009 Alternatively you can do: print_r($GLOBALS); which prints out almost the same thing. Link to comment https://forums.phpfreaks.com/topic/158939-solved-easy-way-to-dump-all-php-vars/#findComment-838267 Share on other sites More sharing options...
schilly Posted May 20, 2009 Author Share Posted May 20, 2009 awesome. thanks guys. Link to comment https://forums.phpfreaks.com/topic/158939-solved-easy-way-to-dump-all-php-vars/#findComment-838318 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.