News Feed
Sections




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

Paul Jones' Blog:
Exceptional command-line PHP
August 08, 2008 @ 09:34:59

In a new post to his blog, Paul Jones anout a small issue when working with the PHP 5.2.5 command line functionality - a segfault if you extend the Exception class.

When executing code at the command line using php -r and PHP 5.2.5, be sure not to extend the Exception class. It will cause a segmentation fault.

He includes examples of the issue that would cause the problem and the bug he's filed in an effort to get it fixed.

0 comments voice your opinion now!
exception commandline php5 extend segfault


blog comments powered by Disqus

Similar Posts

Sara Golemon's Blog: Why isn't this in PEAR?

Bob Majdak: Extending an Iterator to use an Iterator to make your code a little cleaner

Johannes Schluter's Blog: Data structures in PHP 5.3

Vinu Thomas's Blog: Quercus - PHP5 in 100% Java

Gregory Szorc's Blog: PHP Now Using Proper HTTP Status Codes on Error


Community Events





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


package interview tips deployment laravel series podcast community api library release opinion list install introduction update framework symfony language zendserver

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