Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:101579 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55489 invoked from network); 10 Jan 2018 15:13:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Jan 2018 15:13:42 -0000 Authentication-Results: pb1.pair.com header.from=morrison.levi@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=morrison.levi@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.54 as permitted sender) X-PHP-List-Original-Sender: morrison.levi@gmail.com X-Host-Fingerprint: 74.125.82.54 mail-wm0-f54.google.com Received: from [74.125.82.54] ([74.125.82.54:37367] helo=mail-wm0-f54.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9D/72-39025-4AD265A5 for ; Wed, 10 Jan 2018 10:13:41 -0500 Received: by mail-wm0-f54.google.com with SMTP id f140so27637062wmd.2 for ; Wed, 10 Jan 2018 07:13:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to; bh=sQ8Uar9NkqRs4016QTU9wOC4kFtCAJPRG+wso2Oo2YM=; b=N72mY1JQlHk4sgaiptmGJDF+Rj0qZKeOpjP5KfMj7YLVdFMa+c409WczDOjhNGooTm zEXbDU1pDmssiN14yXSia7uLDQdtv85aFH2bql3Kww+f91I0QJVvsnUpSc7h5c6AT0rb bs57JVZToDXMU39ptwiHuN05tMIYlQhVgnucxG9GI7GUKHRBm8q/HaQRUE1f8UfV1r75 wsyDS3HwNbkGytbuFEZTvTcqOSXcwAnihT6/+mG/Mi0JpVslyoxyJfckFSInjkUofvJC WxaiUgwoLlmaxbSs4VJh535+/h7NAqVf8QfxFf/JQuZXGUhfsLSoCY9I+iiP9H/ZAxFY vmSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=sQ8Uar9NkqRs4016QTU9wOC4kFtCAJPRG+wso2Oo2YM=; b=i7uwtfTiDhPLnc8a72Lt7eaBLU/h2gY9uGMFs/knWRJhZdt1ps7e4p0ULcF+09tqsw bO641ByNxZFvcVeC2zAsKEGSFglroWyEKMFFlkd6j4AVzQT9eJyuws+nv9haYa+7Er8W WGYFlKGxFQghdCKnS/xn6ACT3LxaIEzlrO/m7x2BSt4qlAQGB40YNqew+qiavxOQdbwR hWb6r6uosToytDRzjrv9l8pMXaZ0+gkdxiyVxWbW5AaeN/IX22c9fJfbTJHn5DGXiaTp BZz8lsYhUZvIebsf0rzxMbsp/CGfBrmPLi6oDcrBJpYcLjfiyf/W2rKCXtmTyAg82QBA HaBg== X-Gm-Message-State: AKGB3mI4AbN4TU4IWQTX9mx7eCrQqXMX8HB993m1EH7puXhpx1zg0kZP JRaSFqipKTMdDIKw/O1oyAQ0CqRhV6odAeO9Ite+oA== X-Google-Smtp-Source: ACJfBotzCVZn66VyE6wBkiNWcl1XGFRlr/FsrE+HGwDUxTqW7+PI0zV1wH4Og1Nk4QRc1hImAdjU5hsOIoBS+jBToPE= X-Received: by 10.28.94.5 with SMTP id s5mr15935993wmb.92.1515597216564; Wed, 10 Jan 2018 07:13:36 -0800 (PST) MIME-Version: 1.0 Sender: morrison.levi@gmail.com Received: by 10.28.3.65 with HTTP; Wed, 10 Jan 2018 07:13:35 -0800 (PST) In-Reply-To: <6c3d545c-b808-8d51-d1fb-b85b082730ff@php.net> References: <9a3a8760-f65a-a5c0-b318-1830a9a986c3@gmail.com> <9352F6DF-9940-49A2-9B1D-FA9258E9738E@lerdorf.com> <6c3d545c-b808-8d51-d1fb-b85b082730ff@php.net> Date: Wed, 10 Jan 2018 08:13:35 -0700 X-Google-Sender-Auth: _Ij_rSybb7IQpLOfIHAhSl0o3H4 Message-ID: To: internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] [RFC][DISCUSSION] Strong Typing Syntax From: levim@php.net (Levi Morrison) On Wed, Jan 10, 2018 at 8:10 AM, Sebastian Bergmann wrote: > Am 10.01.2018 um 16:04 schrieb Rasmus Lerdorf: >> Wow, that's rather insulting to the amazing work Dmitry, Nikita, Xinchen >> and others are doing working on the core of PHP. > > I agree. > > IIRC, last time optional type declarations for attributes were discussed > Dmitry optimized/refactored something in the engine that would reduce the > performance hit. > > Do we have a guess at how big that performance hit would be? I, for one, > would gladly trade a couple of percent of performance (considering the > huge gains in performance PHP 7 brought) to be able to use these type > declarations in my code. > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php An additional issue is typed references. I believe Bob Weinand did some work in that area; maybe he can share more insight.