errmsg_024.phpt 216 B

1234567891011121314151617
  1. --TEST--
  2. No more errmsg: can now change initial value of property
  3. --FILE--
  4. <?php
  5. class test1 {
  6. static protected $var = 1;
  7. }
  8. class test extends test1 {
  9. static $var = 10;
  10. }
  11. echo "Done\n";
  12. ?>
  13. --EXPECT--
  14. Done