[php-src] PR #16462: Disallow asymmetric visibility on static properties

From: Date: Wed, 16 Oct 2024 17:05:59 +0000
Subject: [php-src] PR #16462: Disallow asymmetric visibility on static properties
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-29265@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/16462 Author: iluuu1994 https://wiki.php.net/rfc/asymmetric-visibility-v2#static_properties > Static properties > > This functionality applies only to object properties. It does not apply to static properties. > For various implementation reasons that is far harder, and also far less useful. It has therefore > been omitted from this RFC. This check was forgotten in the original implementation. Relaxing this restriction shouldn't be hard, but needs some work. We either need to prevent merging of cache slots for R/RW/W, or we need to introduce an additional check when writing to the property indirectly.

« previous php.git-pulls (#29265) next »