News Feed
Jobs Feed
Sections

Recent Jobs

News Archive
Jeff Moore's Blog:
Improved Error Messages in PHP
October 08, 2007 @ 10:29:00

Jeff Moore mentions a "sweet improvement" he noticed when comparing the error message from a PHP4 script to a PHP5 one - the location reported for error mesages.

Sometimes its the little things that make a difference.

His sample script (a function call without the argument needed) errors on the location of the function definition in PHP4, but happily PHP5 recognized the problem for what it's worth and echoed out the location of the call to that function instead for the line number.

One more reason to ditch PHP 4 and go php 5.
0 comments voice your opinion now!
improve error message php4 php5 argument call improve error message php4 php5 argument call



Similar Posts

SitePoint PHP Blog: How to tell when PHP 5 is safe to use...

Chris Ravensroft's Blog: How To Setup PHP5 with Tomcat 5

WorkingSoftware.com.au: Configuring PHP4 and PHP5 to run concurrently on FreeBSD

ONLamp.com: Important PHP 5.3 Changes for those of you Running Microsoft Windows

Hasin Hayder's Blog: My book on OOP-PHP5 has been published


Community Events







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


database PHP5 example release conference releases application security ajax zend job PEAR framework zendframework cakephp developer mysql package book code

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