Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:104246 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 76789 invoked from network); 6 Feb 2019 17:28:00 -0000 Received: from unknown (HELO mail-wm1-f45.google.com) (209.85.128.45) by pb1.pair.com with SMTP; 6 Feb 2019 17:28:00 -0000 Received: by mail-wm1-f45.google.com with SMTP id p6so2875107wmc.1 for ; Wed, 06 Feb 2019 06:09:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:user-agent:in-reply-to:references:mime-version :content-transfer-encoding:subject:to:cc:from:message-id; bh=XIuSD1XFks2dw7cT7VCzVveh+4W0rNfAhAAIYEYo6Wc=; b=LaHAhA/NIhMSVPWmu1YmuV/iJ5euyhH5FWHS5paCDd5biCRXjIaWNeVtO2aNgW/qAt SUTD1j9ZjRDuvs2u2QFKYabSLoq6RTfx6Woj65NPC5O6qt8vnC4X5K52nkC1if/HX3ss MrnoZgppadBbuBPBvihm3qOHncipE+/DlTiAqEofG3DEnqSJDFc5I7aHMGOEbLPEk7N0 3L6nyW5gruFVZhhL2WqlhRiMp4OeHUADB5piAkmJDXm+PESotHCFzVP06LSX1jF1RmkQ M8leuiAvQdCS7oMmPesYD6/kI2kPSbqk3B2G26pu5FlAqhlWefSNU3KtsBlXP5IAam7E HsmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:user-agent:in-reply-to:references :mime-version:content-transfer-encoding:subject:to:cc:from :message-id; bh=XIuSD1XFks2dw7cT7VCzVveh+4W0rNfAhAAIYEYo6Wc=; b=rd/HHQmSRd0nuH0UZofF5yWj67mWR7enqDoh3sbfn6FrZDQB2rJkalGTRqmWtXyNAF mPPXElPcizqnZBU2GLVaXU/idr9FPgAeST03AMlitYVvKoWMDFDIkKtt3MjMVNgdWBn0 aXjv+26e38dqRJ97k41MUISGCQophFnvQU93EDxPDDcoxCtlaRyqFY2cqZ3DPs1Mzluq peiEljgTrdLs7BjMxFNmWI4XeiX7LdYPNdKHG3uB4eSnQ6bEYVHj7VqelZZ7BVdIiP7V kfo46I2A472Ov0H84yo0m+Hkh6kb8k9lc/KREfIk+g3mV5ePxrAsYdxuVYwJUkIajPST nY/Q== X-Gm-Message-State: AHQUAuZMaKG86s/LbkQUCKFOvvrxp87DJSFB+L1ZcyGUKtx9wKogTV2I fOcomk4c/5BD2AobrwrPZz4= X-Google-Smtp-Source: AHgI3IZYRfsy7f+m2m9bEbRA5N0ykjNzsX/S0xtWLs4SmbrdyyRrBtMZWhCluo1Mjp33NhfJYy3iig== X-Received: by 2002:a1c:67c2:: with SMTP id b185mr3151149wmc.96.1549462163281; Wed, 06 Feb 2019 06:09:23 -0800 (PST) Received: from [10.6.131.196] (188.29.164.127.threembb.co.uk. [188.29.164.127]) by smtp.gmail.com with ESMTPSA id b2sm1072486wrp.94.2019.02.06.06.09.21 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 06 Feb 2019 06:09:22 -0800 (PST) Date: Wed, 06 Feb 2019 14:09:19 +0000 User-Agent: K-9 Mail for Android In-Reply-To: References: <595b374c-bc4f-9b8a-0013-6485abbfb477@php.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable To: Benjamin Morel CC: Nikita Popov ,PHP internals Message-ID: <41D0A782-E4E2-4B98-9C5D-174143DE9A76@gmail.com> Subject: Re: [PHP-DEV] Re: [RFC] [VOTE] Typed properties v2 From: rowan.collins@gmail.com (Rowan Collins) On 6 February 2019 13:46:32 GMT+00:00, Rowan Collins wrote: >it could be in the form of a new function like >property_is_initialized($object, $propertyName); this would be an >extension >of property_exists, that handles the edge case of "declared with a type >and >then explicitly unset"=2E PS: I realise that it's also possible to accidentally leave a property in = this state with a badly written constructor=2E I am drafting a proposal to = make this much less likely, and contend that it should not be something use= rs should be detecting, other than catching the resulting error=2E Regards, --=20 Rowan Collins [IMSoP]