|
Posted by Tom on 11/30/06 01:41
This is more related to debugging, but one thing I found very helpful
was writing my own error-handler so that it provided a trace when an
error did occur. This page is helpful:
http://www.php.net/manual/en/function.set-error-handler.php
Also, someone mentioned print_r(). I wrote my own function that
basically does this, except formats the output more nicely and provides
a function and file trace.
If your code is more object-oriented, then unit-testing would a good
term to research.
Tom
On Nov 28, 12:49 am, "sudee...@gmail.com" <sudee...@gmail.com> wrote:
> Please let me know how do we effectively and quickly test a php code ?
Navigation:
[Reply to this message]
|