aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-07-11 02:57:23 +0900
committernsfisis <nsfisis@gmail.com>2024-07-11 02:57:23 +0900
commit26f49b7e27076e689541b9e13a1b54f60a4ee5c2 (patch)
treea3762813c34a384f21ddeed630ddf333a1cc1b05 /examples
parent326273f20c2d7dfe3d866eb720d1bb914570e3a3 (diff)
downloadphp-waddiwasi-26f49b7e27076e689541b9e13a1b54f60a4ee5c2.tar.gz
php-waddiwasi-26f49b7e27076e689541b9e13a1b54f60a4ee5c2.tar.zst
php-waddiwasi-26f49b7e27076e689541b9e13a1b54f60a4ee5c2.zip
feat: organize namespaces
Diffstat (limited to 'examples')
-rw-r--r--examples/php-on-wasm/php-wasm.php22
-rw-r--r--examples/rubyvm-on-php-on-wasm/php-wasm.php22
2 files changed, 22 insertions, 22 deletions
diff --git a/examples/php-on-wasm/php-wasm.php b/examples/php-on-wasm/php-wasm.php
index de9dd91..f7aca1f 100644
--- a/examples/php-on-wasm/php-wasm.php
+++ b/examples/php-on-wasm/php-wasm.php
@@ -4,18 +4,18 @@ declare(strict_types=1);
require_once __DIR__ . '/../../vendor/autoload.php';
-use Nsfisis\Waddiwasi\BinaryFormat\Decoder;
-use Nsfisis\Waddiwasi\Execution\Extern;
-use Nsfisis\Waddiwasi\Execution\Externs;
-use Nsfisis\Waddiwasi\Execution\FuncInst;
-use Nsfisis\Waddiwasi\Execution\Refs;
-use Nsfisis\Waddiwasi\Execution\Runtime;
-use Nsfisis\Waddiwasi\Execution\Store;
use Nsfisis\Waddiwasi\Stream\FileStream;
-use Nsfisis\Waddiwasi\Structure\Types\FuncType;
-use Nsfisis\Waddiwasi\Structure\Types\NumType;
-use Nsfisis\Waddiwasi\Structure\Types\ResultType;
-use Nsfisis\Waddiwasi\Structure\Types\ValType;
+use Nsfisis\Waddiwasi\WebAssembly\BinaryFormat\Decoder;
+use Nsfisis\Waddiwasi\WebAssembly\Execution\Extern;
+use Nsfisis\Waddiwasi\WebAssembly\Execution\Externs;
+use Nsfisis\Waddiwasi\WebAssembly\Execution\FuncInst;
+use Nsfisis\Waddiwasi\WebAssembly\Execution\Refs;
+use Nsfisis\Waddiwasi\WebAssembly\Execution\Runtime;
+use Nsfisis\Waddiwasi\WebAssembly\Execution\Store;
+use Nsfisis\Waddiwasi\WebAssembly\Structure\Types\FuncType;
+use Nsfisis\Waddiwasi\WebAssembly\Structure\Types\NumType;
+use Nsfisis\Waddiwasi\WebAssembly\Structure\Types\ResultType;
+use Nsfisis\Waddiwasi\WebAssembly\Structure\Types\ValType;
const PHP_HELLO_WORLD = <<<'EOS'
echo "Hello, World!\n";
diff --git a/examples/rubyvm-on-php-on-wasm/php-wasm.php b/examples/rubyvm-on-php-on-wasm/php-wasm.php
index 59c911e..789e6ac 100644
--- a/examples/rubyvm-on-php-on-wasm/php-wasm.php
+++ b/examples/rubyvm-on-php-on-wasm/php-wasm.php
@@ -4,18 +4,18 @@ declare(strict_types=1);
require_once __DIR__ . '/vendor/autoload.php';
-use Nsfisis\Waddiwasi\BinaryFormat\Decoder;
-use Nsfisis\Waddiwasi\Execution\Extern;
-use Nsfisis\Waddiwasi\Execution\Externs;
-use Nsfisis\Waddiwasi\Execution\FuncInst;
-use Nsfisis\Waddiwasi\Execution\Refs;
-use Nsfisis\Waddiwasi\Execution\Runtime;
-use Nsfisis\Waddiwasi\Execution\Store;
use Nsfisis\Waddiwasi\Stream\FileStream;
-use Nsfisis\Waddiwasi\Structure\Types\FuncType;
-use Nsfisis\Waddiwasi\Structure\Types\NumType;
-use Nsfisis\Waddiwasi\Structure\Types\ResultType;
-use Nsfisis\Waddiwasi\Structure\Types\ValType;
+use Nsfisis\Waddiwasi\WebAssembly\BinaryFormat\Decoder;
+use Nsfisis\Waddiwasi\WebAssembly\Execution\Extern;
+use Nsfisis\Waddiwasi\WebAssembly\Execution\Externs;
+use Nsfisis\Waddiwasi\WebAssembly\Execution\FuncInst;
+use Nsfisis\Waddiwasi\WebAssembly\Execution\Refs;
+use Nsfisis\Waddiwasi\WebAssembly\Execution\Runtime;
+use Nsfisis\Waddiwasi\WebAssembly\Execution\Store;
+use Nsfisis\Waddiwasi\WebAssembly\Structure\Types\FuncType;
+use Nsfisis\Waddiwasi\WebAssembly\Structure\Types\NumType;
+use Nsfisis\Waddiwasi\WebAssembly\Structure\Types\ResultType;
+use Nsfisis\Waddiwasi\WebAssembly\Structure\Types\ValType;
const PHP_HELLO_WORLD = <<<'EOS'
require_once '%DIR%/HelloWorld.php';