aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Execution/Externs/Global_.php
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-07-10 19:30:09 +0900
committernsfisis <nsfisis@gmail.com>2024-07-10 19:30:20 +0900
commit2984d445831ebf0cd8c909f589dc203018ae2b0b (patch)
tree465c6e304b85fcd322389dd8b530cea5acabd929 /src/Execution/Externs/Global_.php
parent1011da8798ba7370d914dbce9feac1b06ab81ed5 (diff)
downloadphp-waddiwasi-2984d445831ebf0cd8c909f589dc203018ae2b0b.tar.gz
php-waddiwasi-2984d445831ebf0cd8c909f589dc203018ae2b0b.tar.zst
php-waddiwasi-2984d445831ebf0cd8c909f589dc203018ae2b0b.zip
test: implement "register" action of WAST
Diffstat (limited to 'src/Execution/Externs/Global_.php')
-rw-r--r--src/Execution/Externs/Global_.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/Execution/Externs/Global_.php b/src/Execution/Externs/Global_.php
new file mode 100644
index 0000000..ccf9ad0
--- /dev/null
+++ b/src/Execution/Externs/Global_.php
@@ -0,0 +1,16 @@
+<?php
+
+declare(strict_types=1);
+
+namespace Nsfisis\Waddiwasi\Execution\Externs;
+
+use Nsfisis\Waddiwasi\Execution\Extern;
+use Nsfisis\Waddiwasi\Execution\GlobalInst;
+
+final readonly class Global_ extends Extern
+{
+ protected function __construct(
+ public GlobalInst $global,
+ ) {
+ }
+}