Re: [RFC] Asymmetric visibility

From: Date: Fri, 02 Sep 2022 18:08:31 +0000
Subject: Re: [RFC] Asymmetric visibility
Groups: php.internals 
Request: Send a blank email to internals+get-118555@lists.php.net to get a copy of this message
Hello, public private(set) string $bar; This is extremely weird to read and especially with the future operations, very hard to understand too. I would strongly recommend explicit over implicit and use instead public(get) private(set) string $bar; Now that's quite clear. Thanks NK

« previous php.internals (#118555) next »