aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-04-29 22:46:44 +0900
committernsfisis <nsfisis@gmail.com>2024-04-29 22:46:44 +0900
commit7b982693cc5f25f9010c30ef14f719e05a3ae605 (patch)
tree2f62f0242d023e76015b7b6bd48acbe09fa3e3b3
parent361737eaefc2badc3da6b32e32bbda96931dffa7 (diff)
downloadphp-waddiwasi-7b982693cc5f25f9010c30ef14f719e05a3ae605.tar.gz
php-waddiwasi-7b982693cc5f25f9010c30ef14f719e05a3ae605.tar.zst
php-waddiwasi-7b982693cc5f25f9010c30ef14f719e05a3ae605.zip
fix: block and loop op
-rw-r--r--src/Execution/Runtime.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Execution/Runtime.php b/src/Execution/Runtime.php
index df7361d..9d7c367 100644
--- a/src/Execution/Runtime.php
+++ b/src/Execution/Runtime.php
@@ -2301,7 +2301,7 @@ final class Runtime
} elseif ($result === 0) {
$this->deactivateLabel($n);
} else {
- $this->deactivateLabel($n);
+ $this->deactivateLabel(null);
return $result - 1;
}
return null;
@@ -2412,7 +2412,7 @@ final class Runtime
$this->deactivateLabel($m);
continue;
} else {
- $this->deactivateLabel($m);
+ $this->deactivateLabel(null);
return $result - 1;
}
}