mirror of
https://github.com/php/php-src.git
synced 2024-12-24 17:30:48 +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!
|