1
0
mirror of https://github.com/php/php-src.git synced 2026-04-05 15:12:39 +02:00
Files
archived-php-src/Zend/tests/jump12.phpt
2009-03-27 02:32:57 +00:00

20 lines
212 B
PHP

--TEST--
jump 09: goto in declare statement
--FILE--
<?php
a: print "ok!\n";
goto c;
declare (ticks=1) {
b:
print "ok!\n";
exit;
}
c:
print "ok!\n";
goto b;
?>
--EXPECTF--
ok!
ok!
ok!