Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:101584 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70705 invoked from network); 10 Jan 2018 17:01:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Jan 2018 17:01:36 -0000 Authentication-Results: pb1.pair.com header.from=php@golemon.com; sender-id=softfail Authentication-Results: pb1.pair.com smtp.mail=php@golemon.com; spf=softfail; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain golemon.com does not designate 209.85.220.169 as permitted sender) X-PHP-List-Original-Sender: php@golemon.com X-Host-Fingerprint: 209.85.220.169 mail-qk0-f169.google.com Received: from [209.85.220.169] ([209.85.220.169:46970] helo=mail-qk0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7A/55-39025-DE6465A5 for ; Wed, 10 Jan 2018 12:01:34 -0500 Received: by mail-qk0-f169.google.com with SMTP id l64so358683qke.13 for ; Wed, 10 Jan 2018 09:01:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=golemon-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=PXAIl3196d0qcEOoS4uv7wsw7PfD4+/F4dQfuLScMxY=; b=xivz90U/E5d9+dhNsX+Am/nuy3RpLP4KDpcart+uDYEheXmRJn1m9heaC/yONB5GEd tRqUvroj9XlA58MgkIUHgG41dqtK08a4/OFPq65h9y23ex5sxhYl4Vx/EHyuwEwVZYve w6LoTZOptEXHBYw3BD57Yp4mZ3YKqe/tKuQD3bgLFViA56q6yurbAjwM9eXtc/nR0Vzq JVt0jZCpGXAQHZ6iN296X+r093GuWDv98aKeucEuqiN5S8Ea9HGhivIj+nFttAfkqG2/ PJaM7wDoc6ErC9XHupykKkOoOuzV2A9EfqUFvc2GsK2uvfEZbuV9JuIYgGgSP13yVB8M oHww== 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:cc:content-transfer-encoding; bh=PXAIl3196d0qcEOoS4uv7wsw7PfD4+/F4dQfuLScMxY=; b=qli3LJKF69UdaEV+ljcXv8vvMDVErBA/0fsDe8Vg4gXV4XlNuw9fucpOdbM/ms3Kez IVLl67RuGNzY0P/nNpckj87ZZd1aEqf6RX4dAl7hLOKJnXuoxrb1XgetTVnLnyCKI/Td O7K1Y9nkxyIwnrUukX1wBdpPWJZW8H6dYDPrYd1WCd66pGuJeP0nQ9x2k1i57caBXByU 0TDxU0TEYph3mGG4Bfamy9qH+XbF3QXGFPOqDGSCAe0s+kGrIidblbImOIFnXK0OLMKd 5wepZohq6USHIxlzmmYH8fVC0V7m1lz+7EU1qJcEJ+aSfe8pcXGz0Uf0bhr1Q6BkMPsL b90w== X-Gm-Message-State: AKwxytfg3AIbO0gurN9goegdpO6tMXLFCwS7xNKfSo9Nh2U7EPsdzgWt IRQim6FsXmokjYGMufpWfej3BgGoZEcbthMra45EWA== X-Google-Smtp-Source: ACJfBovrQQ4Mup9fR/ml+RmBBpdp4KTQ/EeI64QcpNeg9uRBj9LZPhYSj+kSlVPX+1FZ9zERQq0AxiX+WWSuCtJG0YM= X-Received: by 10.233.237.71 with SMTP id c68mr9133427qkg.289.1515603691525; Wed, 10 Jan 2018 09:01:31 -0800 (PST) MIME-Version: 1.0 Sender: php@golemon.com Received: by 10.12.158.145 with HTTP; Wed, 10 Jan 2018 09:01:30 -0800 (PST) X-Originating-IP: [206.252.215.26] In-Reply-To: <9352F6DF-9940-49A2-9B1D-FA9258E9738E@lerdorf.com> References: <9a3a8760-f65a-a5c0-b318-1830a9a986c3@gmail.com> <9352F6DF-9940-49A2-9B1D-FA9258E9738E@lerdorf.com> Date: Wed, 10 Jan 2018 12:01:30 -0500 X-Google-Sender-Auth: rcP5F0IlViN-Memm5xTQtz767tU Message-ID: To: Rasmus Lerdorf Cc: Andreas Hennings , Rowan Collins , PHP internals Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [RFC][DISCUSSION] Strong Typing Syntax From: pollita@php.net (Sara Golemon) On Thu, Jan 4, 2018 at 8:21 PM, Rasmus Lerdorf wrote: > I think you, and many others, commenting here, should start by looking > at the engine implementation. Any successful RFC needs to have a strong > implementation behind it, or at the very least a very detailed descriptio= n of > how the implementation would mesh with the existing engine code. > > The reason we don=E2=80=99t have typed properties/variables is that it wo= uld > require adding type checks on almost every access to the underlying > zval. That is a huge perf hit compared to only doing it on method/functio= n > egress points as we do now. > I'm going to underline Rasmus' comment here. zval assignment is a deep/core element of what the engine does. Even when it's not