Quick question regarding debugging and PHP structure.
- From: olafurw@xxxxxxxxx ("Ólafur Waage")
- Date: Wed, 31 Dec 2008 20:41:31 +0000
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.
.
- Follow-Ups:
- Re: [PHP] Quick question regarding debugging and PHP structure.
- From: Ashley Sheridan
- Re: [PHP] Quick question regarding debugging and PHP structure.
- Prev by Date: Re: [PHP] When is an Exception not an Exception?
- Next by Date: Re: [PHP] Quick question regarding debugging and PHP structure.
- Previous by thread: Re: [PHP] When is an Exception not an Exception?
- Next by thread: Re: [PHP] Quick question regarding debugging and PHP structure.
- Index(es):
Relevant Pages
|