Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:86793 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63654 invoked from network); 22 Jun 2015 21:06:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Jun 2015 21:06:36 -0000 Authentication-Results: pb1.pair.com header.from=smalyshev@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=smalyshev@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.178 as permitted sender) X-PHP-List-Original-Sender: smalyshev@gmail.com X-Host-Fingerprint: 209.85.192.178 mail-pd0-f178.google.com Received: from [209.85.192.178] ([209.85.192.178:32918] helo=mail-pd0-f178.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4B/47-07834-CD878855 for ; Mon, 22 Jun 2015 17:06:36 -0400 Received: by pdjn11 with SMTP id n11so146291050pdj.0 for ; Mon, 22 Jun 2015 14:06:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=9dmZoZpia8zYPuAOS/lBLdwAl7MPwKP7WBS72ATOk8s=; b=dWHbC85rwNHXpg7HCz0uuDATHsVw/ZUTpG7+cR79cQ7gIHRSUZ82S4RAto2MUDxE5E 5CxYRkznJRGruhW5ibCED4OdEhZWmIw61Wj2dLdmu7n/hnyLsv+3cwUiKS83QT6O3rvL nwpx2cSivIAgknXgepA4QK59/Z/MhdfvLdfnBUoKsZgL/dVHDG0mhSe1Udrr/zPNt2II Z+SEntOqWx9bePRfcI2wM8myhIXQg7pWzytU/zfXR0KPOjE0ex+r63928nGL8PRBRDkz c2lYoUMGPWbPgyWxIcW41F0kMG7pBASwrEXF9l9aC0ZJNWLyL/IWt2sf9tSGmR2eNtbX 9MHA== X-Received: by 10.66.90.166 with SMTP id bx6mr62137481pab.76.1435007193560; Mon, 22 Jun 2015 14:06:33 -0700 (PDT) Received: from Stas-Air.local (108-66-6-48.lightspeed.sntcca.sbcglobal.net. [108.66.6.48]) by mx.google.com with ESMTPSA id cp10sm20850696pdb.44.2015.06.22.14.06.31 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Jun 2015 14:06:32 -0700 (PDT) Message-ID: <558878D1.1070609@gmail.com> Date: Mon, 22 Jun 2015 14:06:25 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Dmitry Stogov , Rasmus Lerdorf CC: Bob Weinand , Anatol Belski , Kalle Sommer Nielsen , Nikita Popov , PHP internals References: <5586E5D1.4010901@lerdorf.com> <55870947.4060304@lerdorf.com> <5587334C.2080401@lerdorf.com> <55873676.6050706@gmail.com> <55876B29.90804@lerdorf.com> <55881A72.4090403@lerdorf.com> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] hasType() for internal function parameters? From: smalyshev@gmail.com (Stanislav Malyshev) Hi! > Actually, when you added type hints, php compiler stopped optimizing and > using ZEND_DEFINED (and others) instead of internal function calls, but This probably needs to be fixed, there's no reason to stop optimizations for internal functions even with arginfo types, since I think the consensus is that these types are used only for reflection, so nothing changed. -- Stas Malyshev smalyshev@gmail.com