diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-05-04 17:55:01 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-05-04 17:55:01 +0900 |
| commit | 85da6235fb7b808e711c9f3f562dff246a625287 (patch) | |
| tree | e852fff87ebd937c627383cf2125d215a8734259 | |
| parent | abdad356462b4b84cba771af742d1b6ecfaabc2d (diff) | |
| download | php-waddiwasi-85da6235fb7b808e711c9f3f562dff246a625287.tar.gz php-waddiwasi-85da6235fb7b808e711c9f3f562dff246a625287.tar.zst php-waddiwasi-85da6235fb7b808e711c9f3f562dff246a625287.zip | |
fix: table.copy
| -rw-r--r-- | src/Execution/Runtime.php | 2 |
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_]; } } |
