ID:               32982
 Updated by:       [EMAIL PROTECTED]
 Reported By:      chiky at fansajt dot sk
-Status:           Open
+Status:           Bogus
 Bug Type:         Zend Engine 2 problem
 Operating System: Windows XP
 PHP Version:      5.0.4
 New Comment:

Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

See bug #30140 (same thing happens with array()..)



Previous Comments:
------------------------------------------------------------------------

[2005-05-09 11:13:23] chiky at fansajt dot sk

Description:
------------
I have created a class A with static boolean variable $bool and class B
which itherits from A. If I change value of $bool in class B, values
A::$bool and B::$bool differ. All other types (integers and strings)
works fine.
Is this a bug ?

Reproduce code:
---------------
class A
{
        public static $bool = false;
}

class B extends A
{
}

B::$bool = true;

Expected result:
----------------
B::$bool = true
A::$bool = true

Actual result:
--------------
B::$bool = true
A::$bool = false


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


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

Reply via email to