Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80088 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 54997 invoked from network); 2 Jan 2015 11:18:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Jan 2015 11:18:37 -0000 Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ajf.me designates 192.64.116.200 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 192.64.116.200 imap1-2.ox.privateemail.com Received: from [192.64.116.200] ([192.64.116.200:45110] helo=imap1-2.ox.privateemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B1/60-52218-C8E76A45 for ; Fri, 02 Jan 2015 06:18:37 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id BA3DEB0008A; Fri, 2 Jan 2015 06:18:33 -0500 (EST) X-Virus-Scanned: Debian amavisd-new at imap1.ox.privateemail.com Received: from mail.privateemail.com ([127.0.0.1]) by localhost (imap1.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id AagLLV5YTOdu; Fri, 2 Jan 2015 06:18:33 -0500 (EST) Received: from [192.168.0.14] (unknown [94.13.96.117]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.privateemail.com (Postfix) with ESMTPSA id 3271EB00058; Fri, 2 Jan 2015 06:18:32 -0500 (EST) References: Mime-Version: 1.0 (1.0) In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-ID: Cc: PHP internals X-Mailer: iPhone Mail (12B440) Date: Fri, 2 Jan 2015 11:18:23 +0000 To: Sara Golemon Subject: Re: [PHP-DEV] ZEND_ENGINE_2 define From: ajf@ajf.me (Andrea Faulds) Hey Sara, > On 2 Jan 2015, at 05:24, Sara Golemon wrote: >=20 > 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: >=20 > #ifdef ZEND_ENGINE_2 > newAPI(); > #else /* ZE1 */ > oldAPI(); > #endif >=20 > Would continue making sense (modulo newNewAPI() in ZE3, of course). >=20 > Was the ZEND_ENGINE_2 define removed on purpose? Or as an accidental > side-effect of a mass update to "We're ZE3 now!" 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 defin= ed(ZEND_ENGINE_2) && !defined(ZEND_ENGINE_3). Thanks. -- Andrea Faulds http://ajf.me/=