Forum Moderators: coopster

Message Too Old, No Replies

Memory Dump in PHP?

How do I a simple dump of everything in memory while my page is loading

         

jshare

8:33 am on Jun 15, 2007 (gmt 0)

10+ Year Member



What's the easiest way to do a memory dump in PHP? I'd like to see everything that's in memory after mod_rewrite has finished rewriting my url.

thanks

Jacob

coopster

12:11 pm on Jun 15, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



If you want to see how Apache is handling the rewrite you can turn up the RewriteLogLevel [httpd.apache.org] but don't forget to shut it down again after testing. It fills up fast.

jatar_k

12:59 pm on Jun 15, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



or maybe
[php.net...]

or there are a bunch of functions here too
[php.net...]