bug70237.phpt 298 B

1234567891011121314151617181920
  1. --TEST--
  2. Bug #70237 (Empty while and do-while segmentation fault with opcode on CLI enabled)
  3. --INI--
  4. opcache.enable=1
  5. opcache.enable_cli=1
  6. --EXTENSIONS--
  7. opcache
  8. --FILE--
  9. <?php
  10. function neverUsed() {
  11. $bool = false;
  12. while ($bool) { };
  13. //do { } while ($bool);
  14. }
  15. ?>
  16. okey
  17. --EXPECT--
  18. okey