News Feed
Sections




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

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


blog comments powered by Disqus

Similar Posts

Brian DeShong's Blog: Small news that's big to me: my PHP Testfest submissions made it into 5_3!

PHP Security Blog: Month of PHP Bugs and PHP 5.2.1

HowToForge.com: How To Set Up suPHP With PHP4 And PHP5

HowToForge.com: Running Apache2 With PHP5 And PHP4 At The Same Time

Kevin Schroeder's Blog: Passing typed ActionScript objects to Flex using PHP and a message queue


Community Events

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


library framework video series community introduction example api language version laravel security interview laravel5 podcast php7 extension opinion release voicesoftheelephpant

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