From 7f3246e4582a488327f2a9da01111db1a4a32b91 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 30 Jul 2025 07:32:58 +0900 Subject: chore: enable common ruleset of ecs --- examples/php-on-wasm/php-wasm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/php-on-wasm/php-wasm.php') diff --git a/examples/php-on-wasm/php-wasm.php b/examples/php-on-wasm/php-wasm.php index c66b79c..62bb37f 100644 --- a/examples/php-on-wasm/php-wasm.php +++ b/examples/php-on-wasm/php-wasm.php @@ -18,7 +18,7 @@ $wasmBinaryStream = new FileStream(__DIR__ . '/php-wasm.wasm'); $runtime = Runtime::instantiateFromStream($wasmBinaryStream, $linker); $codePtr = allocateStringOnWasmMemory($runtime, PHP_HELLO_WORLD); -$results = $runtime->invoke("php_wasm_run", [$codePtr]); +$results = $runtime->invoke('php_wasm_run', [$codePtr]); \assert(\count($results) === 1); $exitCode = $results[0]; \assert(\is_int($exitCode)); -- cgit v1.2.3-70-g09d2