Displaying all variables currently set?
| From: | Ken | Date: | Sat, 25 Aug 2001 06:23:45 +0000 |
| Subject: | Displaying all variables currently set? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-64407@lists.php.net to get a copy of this message | ||
Is there a way to get PHP to list the names and/or contents of all variables?
phpinfo() shows environment variables, server variables, and form variables, but doesn't
actually show what variables you may have in scope, like $myvar.
Is there any way to get this information? It would be ridiculously useful for debugging.
- Ken
kenzo@free-music.com