Categories
Archives
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- April 2007
- March 2007
- February 2007
- January 2007
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
Mac OS X: A Keyboard Shortcut for Maximize Window | Home | Empty Subclasses Are Good
Filed under Quick Tips on August 4, 2008 by Ben SgroDoubleChecking your PHP
PHP allows you to define variables anywhere, at any time. They do not have to be defined prior to use. This can lead to silly bugs when you misspell a variable name. Anytime I found one of these errors in my code, I'd say to myself, "I wish I had a script that could show me alphabetized variable lists with a count" - so I built this script to save myself debugging time.
DoubleCheck (db.php) can be run against a PHP file and will output an alphabetized list of variables with their count. It will also print out methods with their count. Its still in version 0.1 and I hope to expand on it in the future.
Feel free to contact me with request or bug fixes.
Enjoy!
Trackback Pings (TrackBack URL for this entry)
http://www.arc90.com/cgi-bin/mt4/mt-tb.cgi/180.
Comments
Mac OS X: A Keyboard Shortcut for Maximize Window | Main | Empty Subclasses Are Good

what text editor you dont use? there is a lot of IDE's that can help you with the variable list...
Posted on August 15, 2008 12:57 PM by Manolo