Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_3) / zend_extensions.c zend_extensions.h
[email protected] (Christopher Jones) Wed, 08 Apr 2009 21:58:14 -0700
| Newsgroups | php.internals,php.zend-engine.cvs |
|---|---|
| Message-ID | <[email protected]> |
Stanislav Malyshev wrote: > Hi! > >> I'm looking forward to reading at least a mail note describing what >> extension >> maintainers can/can't do with this. > > Basically you can make your Zend extension load with any API number and > any build ID (or let it decide with which ID to load and with which one > not to). > Prior to 5.3 and build IDs, you could do that for API number using api > check callback, but not for other things like thread safety, etc. > > This is a dangerous functionality - as extension using this API should > either not use most of the engine API or take care to use correct > structures, etc. for every version. But for some applications it may be > required. Is this Zend extensions only? Is it safe to set in extensions that should work with pre 5.3 PHP's? Did I lose track of the other API versioning change - the one that was about to change the structure size. Or is this it but just applied to Zend extensions? Chris -- Email: [email protected] Twitter: http://twitter.com/ghrd Free PHP Book: http://www.oracle.com/technology/tech/php/pdf/underground-php-oracle-manual.pdf