Quick question regarding debugging and PHP structure.



Short: Is it possible to see the PHP code that is going to be
processed in whole?

Long: I love to see things visually, and while programming i create
all kinds of debugging variables i keep on the side for each
page/request.
I know this is possibly not possible since this has to be done from
either the Zend Engine or PHP itself, but if i could see a complete
output of all the code within my project that is used for a certain
execution.

Example:
I call index.php?page=10

index.php includes functions.php and classes.php
classes.php include page_classes.php if there is a $_GET["page"]
variable set and product_classes.php if there is a $_GET["product"]
variable set

What i would like to see is the linear output of what code is included
(so the data of functions.php, classes.php, then page_classes.php, and
then index.php (not product_classes.php since its not included within
this request)

This is most likely possible with some PHP code but I'm thinking of
trying to make sense of an old project i didn't create quickly and if
this is possible it would help a lot.
.



Relevant Pages

  • Re: [PHP] Quick question regarding debugging and PHP structure.
    ... Ashley Sheridan wrote: ... I love to see things visually, and while programming i create ... all kinds of debugging variables i keep on the side for each ... This is most likely possible with some PHP code but I'm thinking of ...
    (php.general)
  • Re: [PHP] Quick question regarding debugging and PHP structure.
    ... I love to see things visually, and while programming i create ... all kinds of debugging variables i keep on the side for each ... this request) ... This is most likely possible with some PHP code but I'm thinking of ...
    (php.general)
  • Re: deleting a line
    ... programming wrote: ... what php code or logic would help me accomplish this? ... Jerry Stuckle ... JDS Computer Training Corp. ...
    (comp.lang.php)
  • Re: PHP Question
    ... computer programming is not that hard. ... foreign language acquisition and I can tell you that it's far easier to ... Here's a few lines of PHP code that actually does something useful. ...
    (comp.lang.php)