Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:101578 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 54113 invoked from network); 10 Jan 2018 15:10:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Jan 2018 15:10:48 -0000 Authentication-Results: pb1.pair.com smtp.mail=sebastian@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=sebastian@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 188.94.27.5 as permitted sender) X-PHP-List-Original-Sender: sebastian@php.net X-Host-Fingerprint: 188.94.27.5 scarlet.netpirates.net Received: from [188.94.27.5] ([188.94.27.5:47030] helo=scarlet.netpirates.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EC/22-39025-6FC265A5 for ; Wed, 10 Jan 2018 10:10:46 -0500 Received: (qmail 24505 invoked by uid 89); 10 Jan 2018 15:10:43 -0000 Received: by simscan 1.4.0 ppid: 24497, pid: 24500, t: 0.0420s scanners: attach: 1.4.0 clamav: 0.99.1/m:/d:20700 Received: from unknown (HELO ?192.168.178.41?) (php@sebastian-bergmann.de@93.226.201.106) by scarlet.netpirates.net with ESMTPA; 10 Jan 2018 15:10:43 -0000 To: internals@lists.php.net References: <9a3a8760-f65a-a5c0-b318-1830a9a986c3@gmail.com> <9352F6DF-9940-49A2-9B1D-FA9258E9738E@lerdorf.com> Reply-To: internals@lists.php.net Message-ID: <6c3d545c-b808-8d51-d1fb-b85b082730ff@php.net> Date: Wed, 10 Jan 2018 16:10:44 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC][DISCUSSION] Strong Typing Syntax From: sebastian@php.net (Sebastian Bergmann) 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.