Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:104263 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 11402 invoked from network); 7 Feb 2019 01:39:44 -0000 Received: from unknown (HELO mail-wr1-f43.google.com) (209.85.221.43) by pb1.pair.com with SMTP; 7 Feb 2019 01:39:44 -0000 Received: by mail-wr1-f43.google.com with SMTP id z15so7341410wrn.1 for ; Wed, 06 Feb 2019 14:21:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=6nV3Gduc3PuAefNkjAz5R4WHeahGj6YfYXinluIpA2g=; b=CA9n1SE81hF0i+EBt+O8CRVfNCNfcyegtZ8GrPV7Cu7qiPhxWNLaKDSh4wqBmmooQ+ KhO42V2HiAvGHnC3/MbWq3m3f70Mf1J1V9U9jusbESp/gGMr8A5UOp+KTPhksePOLSWt V10jSdRIik7ClcZ7SnnbKl0hszUHiaCAKx4xxDjlIfy1ZagAvOZ36k8Gg+DppM6WtS2X FtiYCgWHQ8OIbGp+a3EV8HQ35Sn+DVEdRuRBxZZmrjzw2afQi1viIs+0xC3UkNKhGq/f Tya7OoOlMO0F6Fx+sIR6TttEU23vEESOiD6g4Gc0PN+F9+KcpweZZYCmmOvKfS5C/PBz w/sA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=6nV3Gduc3PuAefNkjAz5R4WHeahGj6YfYXinluIpA2g=; b=ud2V/wqJngffD/FhEanvHA+6UfnWHH2tOA2pNQ5oeL4yKcolcMwW5rtFOFyfkZ60yM gjSi5VwNHONFMBLKnvuedBOc1tvYpjRSSIdhHDb/UxeADrqbQD8R8VWq68WzvGK/aA72 3FoMtj9CYqzYgwTvADbcUh5P8Gr/FSqMdJDvo4zP8HRe4mrN92f7dQJnmgoNk209ohGI 0OU09DYVreZcbXOvZ4adrNeGdS00lGIGEZUu1ahNpAt+KS7S3QqUBbFAFvL5Gklq/cGB N790zozIuSQtekKzL/xcPNeYqYZYtj1he3Ru7T5ljH6ymxaVR42ducBkAZU3IhSImKr9 jNqg== X-Gm-Message-State: AHQUAuaUOZY1l876jjQkCId0JaQnmawEKStr2XO29YxvKUfbBU4rg7d9 9x5OsvtFHngW3qhsvfsCaN09JV6H X-Google-Smtp-Source: AHgI3IbdS3GgJMcRBP4GTd8i5IsRXII2BImV348ChlxIxKFRO3xZCudN+llvPeAsUPBofR5KazOc/g== X-Received: by 2002:a05:6000:12ce:: with SMTP id l14mr7186933wrx.269.1549491672189; Wed, 06 Feb 2019 14:21:12 -0800 (PST) Received: from [192.168.0.16] (cpc84253-brig22-2-0-cust114.3-3.cable.virginm.net. [81.108.141.115]) by smtp.googlemail.com with ESMTPSA id h133sm17992329wmd.8.2019.02.06.14.21.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Feb 2019 14:21:11 -0800 (PST) To: Benjamin Morel Cc: PHP internals References: <595b374c-bc4f-9b8a-0013-6485abbfb477@php.net> <41D0A782-E4E2-4B98-9C5D-174143DE9A76@gmail.com> Message-ID: Date: Wed, 6 Feb 2019 22:21:08 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB Subject: Re: [PHP-DEV] Re: [RFC] [VOTE] Typed properties v2 From: rowan.collins@gmail.com (Rowan Collins) On 06/02/2019 22:10, Benjamin Morel wrote: > But we digress, can we focus on whether to add another isset()-like > construct, or a property_is_initialized() function, ideally with a > companion opcode to speed it up? I apologise for the digression. However, there is some relevance, because asking for not just a new function, but a new opcode, suggests you have a use case that is both common and performance critical; apologies if I've missed it, but have you actually said what that use case is? > Pardon my ignorance, but what is exactly increasing the language complexity? Do you mean the addition of a language construct to the parser? Notice that Nikita said "conceptual language complexity", not "implementation complexity" - regardless of how simple this is in implementation, it's one more thing to document, maintain, and answer questions about. Regards, -- Rowan Collins [IMSoP]