This question needs an update

No.

Actually, I think there is, but I never used it. I believe PHP 4.0 will be coming with a good debugger, so in the meantime here are some debugging aids to make your life sweet and rosy.

  1. Use phpinfo(). This function dumps a whole bunch of information to the browser, such as current software versions, environment variables, HTTP GET/POST variables, and so on. Just put it into an existing script like this:
    phpinfo();
    

    https://embedded.eecs.berkeley.edu/options/power/phpinfo will return the results of phpinfo(). That page also includes hints on how to view information on most individual pages.

    Or write the file /home/www/php/test.php3:

    <?php
    phpinfo();
    ?>
    
    and call it by entering the URL /php/test.php3 (appended ot the server string in the browser URL location field).
  2. Use echo to print out debug info. For example:
    echo "myvar = $myvar<br>";
    
    (After a while, typing the "<br>" becomes automatic...)
  3. Use the array_print() and array_print2() utility functions (defined in /home/www/php/include/util.inc.php3) to print arrays:
    array_print($HTTP_POST_VARS);
    
  4. Check out php.net.