aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Execution/GlobalInst.php
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-03-13 23:11:23 +0900
committernsfisis <nsfisis@gmail.com>2024-03-13 23:11:23 +0900
commit3702e772d72cb46c6cb13e21d570427bd0b4e493 (patch)
tree61949354c5c546200797cad9f1ad520e258b93a6 /src/Execution/GlobalInst.php
parent804dea0ddefe826f535738cda9cc5ad900c083c4 (diff)
downloadphp-waddiwasi-3702e772d72cb46c6cb13e21d570427bd0b4e493.tar.gz
php-waddiwasi-3702e772d72cb46c6cb13e21d570427bd0b4e493.tar.zst
php-waddiwasi-3702e772d72cb46c6cb13e21d570427bd0b4e493.zip
perf: make Val to primitive
Diffstat (limited to 'src/Execution/GlobalInst.php')
-rw-r--r--src/Execution/GlobalInst.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Execution/GlobalInst.php b/src/Execution/GlobalInst.php
index 5595b45..08b621e 100644
--- a/src/Execution/GlobalInst.php
+++ b/src/Execution/GlobalInst.php
@@ -10,7 +10,7 @@ final class GlobalInst
{
public function __construct(
public readonly GlobalType $type,
- public Val $value,
+ public int|float|Ref $value,
) {
}
}