Edit report at https://bugs.php.net/bug.php?id=62860&edit=1
ID: 62860
Updated by: cmb@php.net
Reported by: michaelduff2 at yahoo dot com
Summary: Moar magic methods! __constructStatic(),
__getStatic(), __setStatic(), __get
-Status: Open
+Status: Suspended
Type: Feature/Change Request
Package: *General Issues
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
This feature request clearly needs someone to pursue the RFC
process[1]. For the time being I'm suspending this ticket.
[1] <https://wiki.php.net/rfc/howto>
Previous Comments:
------------------------------------------------------------------------
[2018-03-09 10:44:54] daverandom@php.net
Related To: Bug #76072
------------------------------------------------------------------------
[2015-04-24 05:34:31] michaelduff2 at yahoo dot com
RE: levim at php dot net
It is loosely related, however as GoogleGuy points out, Request #45002 mistakenly refers to __get
and __set which are for object properties, not class properties; whereas this one more explicitly
refers to accessors for static properties.
This request also includes a new heuristic: __constructStatic() which that request does not. Should
I break that part of this request out?
Finally, have the patches submitted by (thekid at php dot net) or (allesbesser at gmail dot com)
from Request #45002 been vetted and incorporated yet?
------------------------------------------------------------------------
[2014-05-08 18:04:45] levim@php.net
This is at least related to bug 45002.
------------------------------------------------------------------------
[2012-09-12 03:35:35] laruence@php.net
<GoogleGuy> The fact that his code defies the point of using magic getters and
setters should have been a hint.
<GoogleGuy> __get and __set are meant for inaccessible variables.
------------------------------------------------------------------------
[2012-09-12 02:52:03] laruence@php.net
they are not dup...
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=62860
--
Edit this bug report at https://bugs.php.net/bug.php?id=62860&edit=1