Bug #51581 [Asn->Wfx]: getDefaultProperties incorrect for static properties

From: Date: Wed, 26 May 2010 16:45:54 +0000
Subject: Bug #51581 [Asn->Wfx]: getDefaultProperties incorrect for static properties
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-150852@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=51581&edit=1

 ID:               51581
 Updated by:       dmitry@php.net
 Reported by:      ChadFulton at gmail dot com
 Summary:          getDefaultProperties incorrect for static properties
-Status:           Assigned
+Status:           Wont fix
 Type:             Bug
 Package:          Scripting Engine problem
 Operating System: Mac OSx 10.6
 PHP Version:      5.3.2
 Assigned To:      dmitry

 New Comment:

PHP don't have to keep the default values of static class variables of
user-defined classes. Of course it might be used in ext/Reflection but
it would require less-efficient and more-memory-consumption
implementation which would affect any php script which use classes with
static properties.

I would stay the behaviour as is and would disable access to default
static properties values which is incorrect anyway.


Previous Comments:
------------------------------------------------------------------------
[2010-05-21 11:29:43] mike@php.net

IMO actually a scripting engine problem.

------------------------------------------------------------------------
[2010-05-13 07:20:17] ChadFulton at gmail dot com

Thanks for taking this issue up!

------------------------------------------------------------------------
[2010-05-12 15:45:58] mike@php.net

Dmitry, could you please review the fix-refs-to-default-static-members
patch?

Thank you.

------------------------------------------------------------------------
[2010-05-12 15:45:35] mike@php.net

The following patch has been added/updated:

Patch Name: fix-reflection-of-default-static-members
Revision:   1273671935
URL:       
http://bugs.php.net/patch-display.php?bug=51581&patch=fix-reflection-of-default-static-members&revision=1273671935

------------------------------------------------------------------------
[2010-05-12 15:42:00] mike@php.net

The following patch has been added/updated:

Patch Name: fix-refs-to-default-static-members
Revision:   1273671720
URL:       
http://bugs.php.net/patch-display.php?bug=51581&patch=fix-refs-to-default-static-members&revision=1273671720

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


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=51581


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


Thread (8 messages)

« previous php.bugs (#150852) next »