aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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 c64f039..468b712 100644
--- a/src/Execution/Runtime.php
+++ b/src/Execution/Runtime.php
@@ -189,7 +189,7 @@ final class Runtime
$results[] = $this->stack->popValue();
}
$this->stack->popFrame();
- return $results;
+ return array_reverse($results);
}
public function invokeByFuncAddr(int $funcAddr): void