News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

JSLabs Blog:
Debugging PHP scripts
January 02, 2007 @ 08:54:00

From the JSLabs blog today there's an extremely basic debugging helper class to get you started finding that error in your code.

Debugging PHP scripts can be a difficult task, so I have written this simple php debugger class. It will display all GET and POST variables and all the properties on a currently defined object.

The code is about 20 lines long and does the most basic method of debugging - spitting out the current values of the $_GET and $_POST superglobals. It wraps it all up in a function so you can call it with one line.

0 comments voice your opinion now!
debug script simple class output superglobal debug script simple class output superglobal


blog comments powered by Disqus

Similar Posts

Jim Plush's Blog: Why Your PHP app NEEDS a Circuit Breaker

Zend Developer Zone: PHP Abstract Episode 5: Using the Zend Toolbars For Debugging & Profiling Apps

PHP-it.net: Creating a chat script with PHP and Ajax (Part 2)

Dave Dash's Blog: Installing a PHP that can do symfony+doctrine on Dreamhost

DevShed: Implementing Destructors with Multiple Objects in PHP 5


Community Events

Don't see your event here?
Let us know!


community introduction release middleware conference api voicesoftheelephpant framework wordpress unittest laravel5 series language interview development library opinion podcast laravel extension

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework