bug75607.phpt 251 B

12345678910111213141516171819202122232425
  1. --TEST--
  2. Bug #75607 (Comparison of initial static properties failing)
  3. --FILE--
  4. <?php
  5. trait T1
  6. {
  7. public static $prop1 = 1;
  8. }
  9. class Base
  10. {
  11. public static $prop1 = 1;
  12. }
  13. class Child extends base
  14. {
  15. use T1;
  16. }
  17. echo "DONE";
  18. ?>
  19. --EXPECT--
  20. DONE