Re: Step by step code running

From: Date: Mon, 24 Jul 2006 14:17:52 +0000
Subject: Re: Step by step code running
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-239725@lists.php.net to get a copy of this message
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'm pretty good at abusing php's OO if thats what you mean ;-) > > 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? a debugger would be needed to single step through the code, although how much help a debugger will be if someone doesn't understand php's OO principles [very well] is questionable, generally one has to have a good idea of what the code is meant to be doing in order to make head/tails of the debuggers output. maybe we can help in explaining what your script does? > > Personally I use EditPlus and a lot of echo/print > statements when I debug, I try to keep things simple. > > Thanks! > > ------ > - The faulty interface lies between the chair and the keyboard. > - Creativity is great, but plagiarism is faster! > - Smile, everyone loves a moron. :-) > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com >

« previous php.general (#239725) next »