Re: Step by step code running
| From: | Robert Cummings | Date: | Sun, 23 Jul 2006 21:29:59 +0000 |
| Subject: | Re: Step by step code running | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-239714@lists.php.net to get a copy of this message | ||
On Sun, 2006-07-23 at 08:51, Ryan A wrote:
> Hi,
>
> I need to explain a script to a pal of mine but either
> i cant explain it properly or he just cant get the
> concept being new to php's slightly "advanced stuff"
> (OO and classes, mind you...i ain't no expert myself
> in this, more like Jochem's(from this list) field of
> expertise)
>
> I remember in my old C++ days we used to use something
> that basically showed how the code executed, line by
> line, running in the loops etc
>
> anything like that for PHP?
>
> Personally I use EditPlus and a lot of echo/print
> statements when I debug, I try to keep things simple.
You're looking for a debugger. There's a whole thread on the go right
now for "PHP Debugger Recommendations". Personally I prefer the
echo/print_r method that you're probably already using... but as you say
you're trying to demonstrate so that's a bit different.
Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com
|
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'