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. Quote 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()); Quote 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. Quote 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. Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.