aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Execution
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-05-04 17:55:01 +0900
committernsfisis <nsfisis@gmail.com>2024-05-04 17:55:01 +0900
commit85da6235fb7b808e711c9f3f562dff246a625287 (patch)
treee852fff87ebd937c627383cf2125d215a8734259 /src/Execution
parentabdad356462b4b84cba771af742d1b6ecfaabc2d (diff)
downloadphp-waddiwasi-85da6235fb7b808e711c9f3f562dff246a625287.tar.gz
php-waddiwasi-85da6235fb7b808e711c9f3f562dff246a625287.tar.zst
php-waddiwasi-85da6235fb7b808e711c9f3f562dff246a625287.zip
fix: table.copy
Diffstat (limited to 'src/Execution')
-rw-r--r--src/Execution/Runtime.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Execution/Runtime.php b/src/Execution/Runtime.php
index 08600e5..58e2169 100644
--- a/src/Execution/Runtime.php
+++ b/src/Execution/Runtime.php
@@ -1765,7 +1765,7 @@ final class Runtime
$s_ = ($d < $s) ? ($s + $i) : ($s + $n - 1 - $i);
$d_ = ($d < $s) ? ($d + $i) : ($d + $n - 1 - $i);
// @phpstan-ignore-next-line
- $tabX->elem[$d] = $tabY->elem[$s];
+ $tabX->elem[$d_] = $tabY->elem[$s_];
}
}