Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:128376 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by lists.php.net (Postfix) with ESMTPS id C5C531A00BC for ; Sat, 2 Aug 2025 20:33:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1754166703; bh=MBupfvaqCprFkbzObbmk8b7bBI8IxDS59/Qpd/3Jn8A=; h=Date:From:To:CC:Subject:In-Reply-To:References:From; b=R3URkK2CENzEWw8C8qthKGiF9C5h2XKvDYA2Y6i7+usvQpuhiV1MhUYMh7sZJV4Ro xq1shquNLKwJa5CKaT3kHjJuvd71aXH3oElr0+ZaQscGqRQ0wHHhYQWdF/38jzP24D cx5aVV0u0szzNc4DCyjDk9Bef84OtInEAapF4PVfllMC04EiPVeYT34xGuBA3KKARz 8otHvjwM/zauwXvxinSZRUgmCDgZl3r8RhfSJCE0XYvWodXGRDKBV9HSHxS57vUqlI PW/eLAcqxF5Xye+ylKGWjO4DMiJJYPZUBZHBRRYh+FEmTEOvQ22hKZu4Hz1s4ufpXD pRGQ3h9dFEOhA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 47D5B180054 for ; Sat, 2 Aug 2025 20:31:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_40,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from fout-a4-smtp.messagingengine.com (fout-a4-smtp.messagingengine.com [103.168.172.147]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sat, 2 Aug 2025 20:31:41 +0000 (UTC) Received: from phl-compute-04.internal (phl-compute-04.phl.internal [10.202.2.44]) by mailfout.phl.internal (Postfix) with ESMTP id 54D19EC11DD for ; Sat, 2 Aug 2025 16:33:22 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-04.internal (MEProxy); Sat, 02 Aug 2025 16:33:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rwec.co.uk; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1754166802; x=1754253202; bh=MBupfvaqCprFkbzObbmk8b7bBI8IxDS59/Qpd/3Jn8A=; b= UmrrGy1QBtrrcOXATb9C+PX+5yj4SKcjlWGyreUhnDsqSBsbYAXHgJrj6hI5i7TV 3B1bwFosqpbA/awhMIcwOvpJRQsb/F912Texyv2NoCohq1Gw++y0ivrKBVjxl0QO ZWc66HpehODni5OictvQClgU+ik4v7mN4h2YcCFAzMk6VwYbXR/+G+TyB9PrjmDO 8TOaVjqkRWgpRCJgajeTXb7kaLvSvaq6u07C0YvGgGXKz9Sd8GjCNE6YeS5PXwlF LuSBzCwHy78BPuZXutOTV1JsbaxH+mJOzO9cVOD/Cv0BtAT4WMTuep/1Sm9SBwqM 9VMVxe4YWz3yFAII8gD6kw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1754166802; x= 1754253202; bh=MBupfvaqCprFkbzObbmk8b7bBI8IxDS59/Qpd/3Jn8A=; b=A shPACeVnnWvUbI0px2ELtMxrMgzJp6HXiI9VN1WFiSvU17rQHpJDN3rp6fsMtnr3 a5pFuS8rlYJYT/hFPEN5KNGIFhmxH1ZUcpFZ4M9LZoZqMSGv88EpDJ5awP+9d7J9 i9pXrBbZRdlVA0Ol+fuBMa/7rpkmYhXVoytnyr5RBNxajZbupBlZhT4iJbdZ2uIg oIDdy4dhF7LqDJ6G7nFqlJXZKyRCUbgXfrWK0hC9f2dn3XSQaIF0LhPMDGVbDGim MVKM/S91HBqiJYzSbfXhbk3t4MpiGJpzH/JmizelhX75FkcGNjI5Lo1SgTD3hD28 Dtlo7huSgMXp8WmxV3Dhw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgddutdejheegucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepfffhvfevufgfjghfkfggtgfgsehtqhhmtddtreejnecuhfhrohhmpedftfhofigr nhcuvfhomhhmihhnshculgfkoffuohfrngdfuceoihhmshhophdrphhhphesrhifvggtrd gtohdruhhkqeenucggtffrrghtthgvrhhnpeeugfejfefghfdvuddvieejhfeffeelueej ieehffdtgedtvdetuddufedukeeuueenucevlhhushhtvghrufhiiigvpedtnecurfgrrh grmhepmhgrihhlfhhrohhmpehimhhsohhprdhphhhpsehrfigvtgdrtghordhukhdpnhgs pghrtghpthhtohepuddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepihhnthgvrh hnrghlsheslhhishhtshdrphhhphdrnhgvth X-ME-Proxy: Feedback-ID: id5114917:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sat, 2 Aug 2025 16:33:21 -0400 (EDT) Date: Sat, 02 Aug 2025 21:33:19 +0100 To: internals@lists.php.net CC: PHP internals Subject: Re: [PHP-DEV] Protected inheritance hierarchies User-Agent: K-9 Mail for Android In-Reply-To: <900d2936-6afd-4eed-b08a-1540d124273a@app.fastmail.com> References: <2d516e15-2fc7-4ac4-b9c2-7146ac01cfb1@app.fastmail.com> <8c60c0b8-8826-49a4-80ba-973ff833fff7@app.fastmail.com> <900d2936-6afd-4eed-b08a-1540d124273a@app.fastmail.com> Message-ID: <43428CE0-2D9C-485C-969B-5529850614BE@rwec.co.uk> Precedence: list list-help: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: imsop.php@rwec.co.uk ("Rowan Tommins [IMSoP]") On 2 August 2025 20:12:59 BST, Rob Landers wrote: >I mentioned in my first reply, there is no way to get an instance-level p= roperty unshadowed=2E It is there though (according to inheritance=2Ec, if = I=E2=80=99m reading it right, it is still accessible, just not from user-la= nd)=2E I'd be interested to see what code you're looking at=2E As I showed in my = last email, there's an explicit difference in how private and protected pro= perty names are mangled, and it's consistent with how reflection, serialisa= tion, and debug functions output them - which is that there is only one pro= perty, no matter how many times in the inheritance chain it is redefined=2E Rowan Tommins [IMSoP]