On Fri, 2 Jan 2015, Sara Golemon wrote:

> 
> > 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.

I'm rather more of a fan to actually do:

#if PHP_VERSION_ID >= 70000 instead anyway....

cheers,
Derick

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to