Re: ZEND_ENGINE_2 define
| From: | Sara Golemon | Date: | Fri, 02 Jan 2015 19:41:29 +0000 |
| Subject: | Re: ZEND_ENGINE_2 define | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-80106@lists.php.net to get a copy of this message | ||
> It was deliberate, I did it. The reason for getting rid of it was because it makes checking ZE2
> simpler, actually. I didn't want to have to do #if defined(ZEND_ENGINE_2) &&
> !defined(ZEND_ENGINE_3).
>
So instead you have to do:
#if defined(ZEND_ENGINE_2) || defined(ZEND_ENGINE_3)
But cool, kind of arbitrary either way, so it's all good.