diff options
Diffstat (limited to 'examples/rubyvm-on-php-on-wasm/HelloWorld.php')
| -rw-r--r-- | examples/rubyvm-on-php-on-wasm/HelloWorld.php | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/examples/rubyvm-on-php-on-wasm/HelloWorld.php b/examples/rubyvm-on-php-on-wasm/HelloWorld.php deleted file mode 100644 index b237637..0000000 --- a/examples/rubyvm-on-php-on-wasm/HelloWorld.php +++ /dev/null @@ -1,18 +0,0 @@ -<?php - -require_once __DIR__ . '/../../vendor/autoload.php'; - -\define('STDIN', fopen('php://stdin', 'r')); - -$rubyVM = new \RubyVM\VM\Core\Runtime\RubyVM( - new \RubyVM\VM\Core\Runtime\Option( - reader: new \RubyVM\VM\Stream\BinaryStreamReader( - streamHandler: new \RubyVM\VM\Stream\FileStreamHandler( - __DIR__ . '/HelloWorld.yarv', - ), - ), - logger: new \Psr\Log\NullLogger(), - ), -); -$executor = $rubyVM->disassemble(); -$executor->execute(); |
