aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/rubyvm-on-php-on-wasm/HelloWorld.php
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-07-05 01:13:14 +0900
committernsfisis <nsfisis@gmail.com>2024-07-05 01:13:14 +0900
commit7de272fe66a7c53d513864b79299f878ea07c144 (patch)
tree5b6cc041d6e57cf56b49cd6620ed7dd0bd85dc59 /examples/rubyvm-on-php-on-wasm/HelloWorld.php
parent62fef8ad9c34918f28523aad4df8ac4e9fa65914 (diff)
downloadphp-waddiwasi-7de272fe66a7c53d513864b79299f878ea07c144.tar.gz
php-waddiwasi-7de272fe66a7c53d513864b79299f878ea07c144.tar.zst
php-waddiwasi-7de272fe66a7c53d513864b79299f878ea07c144.zip
fix: apply ecsfix
Diffstat (limited to 'examples/rubyvm-on-php-on-wasm/HelloWorld.php')
-rw-r--r--examples/rubyvm-on-php-on-wasm/HelloWorld.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/rubyvm-on-php-on-wasm/HelloWorld.php b/examples/rubyvm-on-php-on-wasm/HelloWorld.php
index 7c37ac2..1b5efda 100644
--- a/examples/rubyvm-on-php-on-wasm/HelloWorld.php
+++ b/examples/rubyvm-on-php-on-wasm/HelloWorld.php
@@ -2,9 +2,9 @@
require_once __DIR__ . '/vendor/autoload.php';
-define('STDIN', fopen('php://stdin', 'r'));
-define('STDOUT', fopen('php://stdout', 'r'));
-define('STDERR', fopen('php://stderr', 'r'));
+\define('STDIN', fopen('php://stdin', 'r'));
+\define('STDOUT', fopen('php://stdout', 'r'));
+\define('STDERR', fopen('php://stderr', 'r'));
$rubyVM = new \RubyVM\VM\Core\Runtime\RubyVM(
new \RubyVM\VM\Core\Runtime\Option(