unused_shared_static_variables.phpt 230 B

12345678910111213141516
  1. --TEST--
  2. Cleanup of shared static variables HT that has never been used should not assert
  3. --FILE--
  4. <?php
  5. class A {
  6. public function test() {
  7. static $x;
  8. }
  9. }
  10. class B extends A {}
  11. ?>
  12. ===DONE===
  13. --EXPECT--
  14. ===DONE===