![]() ![]() | ![]() |
1.1 ! misho 1: --TEST-- ! 2: No more errmsg: can now change initial value of property ! 3: --FILE-- ! 4: <?php ! 5: ! 6: class test1 { ! 7: static protected $var = 1; ! 8: } ! 9: ! 10: class test extends test1 { ! 11: static $var = 10; ! 12: } ! 13: ! 14: echo "Done\n"; ! 15: ?> ! 16: --EXPECTF-- ! 17: Done