News Feed
Sections




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

Greg Beaver's Blog:
multiple __HALT_COMPILER(); no longer raises notices PHP 5.2.2+
June 28, 2007 @ 08:03:00

Greg Beaver points out an obscure problem he came across when working with the new _HALT_COMPILER token in PHP 5:

A quick note about an obscure problem peculiar to PHP files that make use of PHP 5's new __HALT_COMPILER(); token. Prior to PHP 5.2.2, if you included two files that contained the __HALT_COMPILER(); token, you would get a notice that __COMPILER_HALT_OFFSET__ was already defined.

This posed a problem for him as he needed it to throw this error for the phar library format. His solution? To patch his installation (PHP5, the PHP6 patch is here) to make the problem a non-issue.

0 comments voice your opinion now!
haltcompiler php5 php6 patch notice haltcompiler php5 php6 patch notice


blog comments powered by Disqus

Similar Posts

Secunia.com: Debian Update for PHP4 & PHP5

SecurityReason: Three Advisories for PHP 5.2.4 (dl, iconv_substr & setlocale)

JellyandCustard.com: Using DirectoryIterator to List Files in PHP

Lukas Smith's Blog: Its the end of the world as we know it.

Ivo Jansch's Blog: PHP4 to 5 migration webinar


Community Events





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


developer testing install threedevsandamaybe laravel introduction code interview series configure refactor opinion podcast release unittest community list symfony2 framework language

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