Re: Re: ZEND_MODULE_API_NO in ZE2 [was Re: [PHP-CVS] cvs: php4 /ext/xmlrpc config.m4 /ext/xmlrpc/libxmlrpc acinclude.m4 xmlrpc.h xmlrpc.m4]
| From: | Andi Gutmans | Date: | Thu, 27 Sep 2001 07:35:42 +0000 |
| Subject: | Re: Re: ZEND_MODULE_API_NO in ZE2 [was Re: [PHP-CVS] cvs: php4 /ext/xmlrpc config.m4 /ext/xmlrpc/libxmlrpc acinclude.m4 xmlrpc.h xmlrpc.m4] | ||
| References: | 1 2 3 4 5 | Groups: | php.cvs php.dev |
| Request: | Send a blank email to php-dev+get-66718@lists.php.net to get a copy of this message | ||
At 09:19 AM 9/27/2001 +0100, James Moore wrote:
At 09:00 AM 9/27/2001 +0200, Markus Fischer wrote:We could define something in zend.h. ZEND_VERSION_2 or ZEND_ENGINE_2 or something like that. AndiOn Wed, Sep 26, 2001 at 06:32:00PM -0500, Dan Libby wrote :forworks for me. there is already an ifdef around the call that checksinAPI version. I did find that it no longer links with the built-in expat due to function redefines (php_XML_*), so I added an include of php_compat.hI set it to todays date. do you think it would be woth calling it somthing different from ZE1 IE ZEND2_MODULE_API_NO or #define ZEND_VERSION_2 for nice easy preprocessing usage if someone is trying to make somthing compatible with ZE1 and ZE2./ext/xml/expat/expat.hYeah, lazy me I didn't take a look at myself. And I probably can think already what causes this: I was using the ZendEngine2. Shouldnt the ZEND_MODULE_API_NO in zend_modules.h also be bumped up for ZendEngine2; Zeev, Andi?