Printing Script Codes.

Posted by Spelljack on Stack Overflow See other posts from Stack Overflow or by Spelljack
Published on 2010-05-29T12:09:38Z Indexed on 2010/05/29 12:12 UTC
Read the original article Hit count: 130

Filed under:

I wanna print out script's codes after the output.

The script goes on different ways on the way it calls. So i wanna see it when script runs. is there any function that prints all script codes as the way it writed.

Example: $foo = "bar"; $foo .= " is my bar"; function foobar() { // do some stuff here }

i wanna see the codes just like this. is there a way to do this? without file_get_contents(), file(), readfile() functions?

© Stack Overflow or respective owner

Related posts about php