jmpznz_relative_offsets.phpt 232 B

12345678910111213141516
  1. --TEST--
  2. Check for correct treatment of relative JMPZNZ offsets when copying opline
  3. --FILE--
  4. <?php
  5. function test($c) {
  6. L1:
  7. if ($c) {
  8. goto L1;
  9. goto L1;
  10. }
  11. }
  12. test(false);
  13. ?>
  14. ===DONE===
  15. --EXPECT--
  16. ===DONE===