On Jan 2, 2015 12:24 PM, "Sara Golemon" <poll...@php.net> wrote: > > I realize that ZE3 is not ZE2, but I always saw the ZEND_ENGINE_2 > define as more of a "At least ZE2" so that code of the form: > > #ifdef ZEND_ENGINE_2 > newAPI(); > #else /* ZE1 */ > oldAPI(); > #endif > > Would continue making sense (modulo newNewAPI() in ZE3, of course). > > Was the ZEND_ENGINE_2 define removed on purpose? Or as an accidental > side-effect of a mass update to "We're ZE3 now!"
Afair on purpose. And I prefer it this way. Many changes are so subtle that we may have way too many bad bugs in exts if ze2 or later is used. IMHO :) Cheers, Pierre