mirror of
https://github.com/bdnugget/php-wasm.git
synced 2026-11-07 09:07:28 +00:00
28 lines
259 B
PHP
28 lines
259 B
PHP
<?php // {"autorun":true, "persist":false, "single-expression": false, "render-as": "text"}
|
|
|
|
$x = false;
|
|
|
|
a:
|
|
|
|
if(!$x)
|
|
{
|
|
goto b;
|
|
}
|
|
|
|
echo '2. Foo' . PHP_EOL;
|
|
|
|
goto c;
|
|
|
|
b:
|
|
|
|
echo '1. Bar' . PHP_EOL;
|
|
|
|
if(!$x)
|
|
{
|
|
$x = true;
|
|
goto a;
|
|
}
|
|
|
|
c:
|
|
echo '3. Baz' . PHP_EOL;
|