Re: [RFC[ Property accessor hooks, take 2

From: Date: Tue, 27 Feb 2024 17:49:16 +0000
Subject: Re: [RFC[ Property accessor hooks, take 2
References: 1 2 3 4 5 6 7 8 9 10 11 12 13  Groups: php.internals 
Request: Send a blank email to internals+get-122518@lists.php.net to get a copy of this message
> It sounds like most people are just really, really pissed off by an implicit variable I think that it could be good to follow the PHP way to mark the "magic" stuff, which is putting leading underscores on the magic stuff. It's not pretty, but it's good because our eyes can detect the magic stuff in the code almost instantaneously. I particularly have no problems with magic stuff, since it's well documented. But I admit that the leading underscores help me find PHP's magic methods inside a class with no effort at all and that's darn good. -- Erick Lima

« previous php.internals (#122518) next »