Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:82349 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 40718 invoked from network); 10 Feb 2015 08:09:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Feb 2015 08:09:25 -0000 Authentication-Results: pb1.pair.com header.from=themattficken@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=themattficken@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.49 as permitted sender) X-PHP-List-Original-Sender: themattficken@gmail.com X-Host-Fingerprint: 209.85.192.49 mail-qg0-f49.google.com Received: from [209.85.192.49] ([209.85.192.49:49792] helo=mail-qg0-f49.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B4/7C-47508-4BCB9D45 for ; Tue, 10 Feb 2015 03:09:25 -0500 Received: by mail-qg0-f49.google.com with SMTP id q107so14586739qgd.8 for ; Tue, 10 Feb 2015 00:09:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=O96xb2zZen//cJ8Fienc/i7C1TBZUJM9vqoZSHqRCtY=; b=0ZQMczbZbBrbMbP33cUfwVbqAojEWRWIw+B1yadLVx+BfkiN7/gkaqd+k/Tmpw7UhX 8MaLSK21ySBb8oc1GD0CWYLMeh6ODgoxWfYAaONHferlqYL1t7Z6U5XPCfDmKWkBv/Sj nJ/bCI5OcmfnzEDPy23c9nq3vuS8/Y/TsRMHrqpNWb/2AYOPWgz9S6LWOpa92vG1xWJQ dCpgz5ypURzXNzxernEsRXScSq0206YdvefzlYTuasyszfaFUhTRpVXtVidsL1oYmyHQ UFPGSMKgcwmvxF7Tevxuu5mOOfkdz1Ds6YyxAxP6vZTBmmVRdBK3nTfZVszwMhs/SWZx wt7A== MIME-Version: 1.0 X-Received: by 10.229.219.10 with SMTP id hs10mr32662440qcb.11.1423555760484; Tue, 10 Feb 2015 00:09:20 -0800 (PST) Received: by 10.140.176.135 with HTTP; Tue, 10 Feb 2015 00:09:20 -0800 (PST) In-Reply-To: References: <8703B53E-2C4A-4AC6-95C4-D4F19C6D5221@ajf.me> <41EBB3A7-4AFC-4A73-B9AA-CD7129ACF9F0@strojny.net> <54D5FB10.1040100@beccati.com> Date: Tue, 10 Feb 2015 00:09:20 -0800 Message-ID: To: Pierre Joye Cc: Lars Strojny , PHP internals , Andrea Faulds , Matteo Beccati Content-Type: multipart/alternative; boundary=001a113485666bf8c2050eb767d9 Subject: Re: [PHP-DEV] [VOTE] Scalar Type Hints From: themattficken@gmail.com (Matt Ficken) --001a113485666bf8c2050eb767d9 Content-Type: text/plain; charset=UTF-8 FYI, the patch doesn't cause a performance regression. I built on and tested with IIS/Windows. Performance remains the same for Wordpress, Symfony and Joomla. Mediawiki actually increased slightly (5%), so performance is increase/decrease is not an issue here, the language and engine are. If you're interested, see: http://windows.php.net/downloads/snaps/ostc/pftt/perf/results-20150209-master_rcaf5521-scalar_type_hints_2_strict_mode-8436.html Regards -M On Mon, Feb 9, 2015 at 6:43 PM, Pierre Joye wrote: > On Feb 10, 2015 1:22 AM, "Lars Strojny" wrote: > > > > Hi Matteo, > > > > sorry for the late response. > > > > > On 07 Feb 2015, at 12:46, Matteo Beccati wrote: > > > > > > Maybe it's just me, but I didn't quite understand the point you are > making here. Are you saying that declares are more or less like ini > settings? > > > > Yes, exactly that. The new declare()-statement will fundamentally change > how the engine behaves and one will have two learn more or less two flavors > of PHP. Even worse I am forced to use the PHP flavor the person picked who > changed the declare() statement last. > > No. You are not. > > > cu, > > Lars > --001a113485666bf8c2050eb767d9--