News Feed
Sections




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

Sara Golemon's Blog:
Heads up, PHP 5.3's Module API is not Backward Compatible
December 10, 2009 @ 07:52:39

Sara Golemon has a bit of a warning for those extension developers moving between PHP 5.2 and 5.3 - the Module API isn't 100 percent compatible.

Unlike PHP, C generally resolves function calls at compile time. When you introduce dynamically loadable shared objects, the ability to know their exact address ahead of time goes out the window [...] One of the things that makes this unnecessarily slower is libraries which export a lot of symbols which aren't needed outside of the file they were defined in.

Because of some of the lazy ways of extension developers (well, some of them) there's been issues with some extensions not making things static when they should be. To counteract the problems this can cause, the PHP 5.3 developers changed the macros to expand out to static instead of const.

0 comments voice your opinion now!
module api incompatible


blog comments powered by Disqus

Similar Posts

Community News: Latest PECL Releases for 08.18.2009

Community News: IPC10 PHP: Yesterdays Scala and the Cobol of tomorrow? (video)

Community News: Packagist Latest Releases for 05.25.2013

Community News: Packagist Latest Releases for 04.27.2014

Community News: Latest Releases from PHPClasses.org


Community Events





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


version code list framework tips introduction language interview development conference community application zendserver series release podcast developer api deployment laravel

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