Patch by Robert Scheck for CodeGen_PECL >= 1.1.3, which replaces the deprecated alias function_entry by zend_function_entry. This allows generated C code to be compiled using PHP 5.4. --- CodeGen_PECL-1.1.3/PECL/Extension.php 2010-09-27 13:53:30.000000000 +0200 +++ CodeGen_PECL-1.1.3/PECL/Extension.php.php54 2012-07-21 23:41:56.000000000 +0200 @@ -1174,7 +1174,7 @@ function generateFunctionRegistrations() { $code = "/* {{{ {$this->name}_functions[] */\n"; - $code .= "function_entry {$this->name}_functions[] = {\n"; + $code .= "zend_function_entry {$this->name}_functions[] = {\n"; foreach ($this->functions as $function) { $code.= $function->functionEntry(); } --- package.xml 2010-09-27 13:53:30.000000000 +0200 +++ package.xml.php54 2012-07-22 02:29:16.000000000 +0200 @@ -126,7 +126,7 @@ - +