diff options
Diffstat (limited to 'examples/rubyvm-on-php-on-wasm/HelloWorld.php')
| -rw-r--r-- | examples/rubyvm-on-php-on-wasm/HelloWorld.php | 6 |
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( |
