Req #45002 [Com]: __get() and __set() don't work for static variable calls

From: Date: Fri, 25 Jun 2010 10:22:37 +0000
Subject: Req #45002 [Com]: __get() and __set() don't work for static variable calls
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-151858@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=45002&edit=1

 ID:               45002
 Comment by:       temporary dot hole at googlemail dot com
 Reported by:      jb2386 at hotmail dot com
 Summary:          __get() and __set() don't work for static variable
                   calls
 Status:           Open
 Type:             Feature/Change Request
 Package:          Feature/Change Request
 Operating System: Any
 PHP Version:      5.2.6

 New Comment:

I have an idea to use this for a static registry class, would be really
useful for keeping 'application-wide' data out of global variables.

I have no idea how to apply this patch, is it possible to use the above
mentioned .diff on PHP 5.3.1 ?


Previous Comments:
------------------------------------------------------------------------
[2010-05-14 09:13:41] vincentbab at gmail dot com

I would really apreciate this feature too

------------------------------------------------------------------------
[2009-09-24 10:23:05] peter dot rother at gmail dot com

'Twould be seriously nice to have this feature…please let us know if 
anything can be done soon.

------------------------------------------------------------------------
[2009-08-01 15:25:58] atrauzzi at gmail dot com

I'd have to say I'm waiting on this feature as well.

Is there a snapshot I could be using to test it out?

------------------------------------------------------------------------
[2009-07-30 21:21:58] some at email dot com

When to expect resolving this bug

------------------------------------------------------------------------
[2009-05-13 15:38:49] rcavallari at hotmail dot com

Any news about __{get,set}Static in the mainline?

------------------------------------------------------------------------


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

    http://bugs.php.net/bug.php?id=45002


-- 
Edit this bug report at http://bugs.php.net/bug.php?id=45002&edit=1


Thread (16 messages)

« previous php.bugs (#151858) next »