Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:104249 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 2105 invoked from network); 6 Feb 2019 18:42:36 -0000 Received: from unknown (HELO mail-it1-f169.google.com) (209.85.166.169) by pb1.pair.com with SMTP; 6 Feb 2019 18:42:36 -0000 Received: by mail-it1-f169.google.com with SMTP id h193so7105133ita.5 for ; Wed, 06 Feb 2019 07:24:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=yrgMpUsIWeZR1dRIcUhFTXV2CkC9Wn3TuRny1TP6y2k=; b=NclseVlXSrNp/e1jhyCXqfqK35edr0Ugdh7+Yx90oP1VWrNzp2u9jRQHXOfl7AJf0P gJ98UYpm/o+bhwkmXiy+ycJCaS0vNURIC0Be6u216e3pGWrk6Q9vRabKEbZKmENebzQI f+uCD52qc/swqH+P+mtbFBDykGzClKtS2NanuB8Et2Uzu9Fv9Vx1cO4dHPjGacEcZ2sI bowLJC8nSJDjyJXm5PeW9mEEZ1M19D2YbuH33pZIBeu9HJ8hzou29Q79pKexnfoqXwVK LWNXV/JxULCtQofmloiPw8ltfqBJIUBzfe2iQS2RWfITAjiosN17NgVv+bZzJeO8Rug5 Nqsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=yrgMpUsIWeZR1dRIcUhFTXV2CkC9Wn3TuRny1TP6y2k=; b=BGow1iDOyJMXAfFOwANjkRkCUnvSKA8mbqSNn1+aTc6V2xjEpjBpc1rmQ7oUQ1nZHr FjwxVH0r2mbfibHOEwm+wEkRkr8r7QTl8tV8WsUIWsl0NQWmF3mldadf4YCtyFqzSi73 T0kKeZu1F5GEcbzFj+4E5q+8qpgb1ns5TRt5xqWp0y9VAHudukhHKWKuTcz8Ra5MPbhA mIHWkf2WeU7gLtKQ4xnP6iKFh1bEqYuP0SFpZU55nOahCQyt4BjA25JcVVnM1lp585sG xKffQqNKXwpR/4ZgBSzwvOe4xOZqD0a4USXDl69eSdYGdLziSgtqUNy8qjHtOmEKTufm 32vA== X-Gm-Message-State: AHQUAuZ+UW/wkjtAXS2KipfLN5yTFkLKSls6wIOxU3UQcT4mDdKhtIMT Oye7v8tnEp9FZyrc8nskDGsHVpLSfqT0yTVcYD8= X-Google-Smtp-Source: AHgI3IYtJbhNMddRNOkNBjnSqG2FGFFQfM9mpylUEKyqZ5JLV1hHWsfpKpbxVBKyuIYnBkGG09kwGRCo66d84oj3AsY= X-Received: by 2002:a6b:7402:: with SMTP id s2mr5464331iog.219.1549466640736; Wed, 06 Feb 2019 07:24:00 -0800 (PST) MIME-Version: 1.0 References: <595b374c-bc4f-9b8a-0013-6485abbfb477@php.net> <41D0A782-E4E2-4B98-9C5D-174143DE9A76@gmail.com> In-Reply-To: Date: Wed, 6 Feb 2019 15:23:48 +0000 Message-ID: To: Benjamin Morel Cc: Marco Pivetta , Nikita Popov , PHP internals Content-Type: multipart/alternative; boundary="000000000000b6668405813b508e" Subject: Re: [PHP-DEV] Re: [RFC] [VOTE] Typed properties v2 From: rowan.collins@gmail.com (Rowan Collins) --000000000000b6668405813b508e Content-Type: text/plain; charset="UTF-8" On Wed, 6 Feb 2019 at 15:21, Benjamin Morel wrote: > Thanks for the pointer! I can see from this thread that another PR has > been merged just over a month ago, to implement a ZEND_ARRAY_KEY_EXISTS > opcode to overcome the performance penalty of array_key_exists(): > https://github.com/php/php-src/pull/3360 > > Couldn't we broaden the scope of this opcode, or add a new one, to support > object properties? > We already have a function property_exists(). I don't know if it covers the case you want, though. Regards, -- Rowan Collins [IMSoP] --000000000000b6668405813b508e--