PHP - Build For Debugging
Posted: Mon Apr 05, 2010 6:28 pm
I am looking at building a debug system into my local server, to test my PHP scripts. I am not sure if it is at all possible, so thought I would ask the question anyway.
Basically, I would like the PHP Parser to output the PHP code to a text file and the Parsed Code to the browser. It might seem an odd request, but it is to test for security problems in code.. I know I can simply output the variables, but I would also like to output the entire PHP source to a text file.. This is for localhost use only.
If I can be pointed in the right direction I would very much appreciate it.. also if its impossible then do say so.
Basically, I would like the PHP Parser to output the PHP code to a text file and the Parsed Code to the browser. It might seem an odd request, but it is to test for security problems in code.. I know I can simply output the variables, but I would also like to output the entire PHP source to a text file.. This is for localhost use only.
If I can be pointed in the right direction I would very much appreciate it.. also if its impossible then do say so.