mirror of
https://github.com/php/php-src.git
synced 2024-12-19 06:50:17 +08:00
20 lines
212 B
PHP
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!
|