aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/rubyvm-on-php-on-wasm/HelloWorld.php
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-02-16 01:08:44 +0900
committernsfisis <nsfisis@gmail.com>2026-02-16 01:08:44 +0900
commit08ddaf4597ad3a9d22433625d11d14bde1dfeafe (patch)
treebd58f4bc802f8bed3a6910bd1e4f7f52486b20fb /examples/rubyvm-on-php-on-wasm/HelloWorld.php
parenta6b728b62efa909b69d9a306e1a955c9d1213446 (diff)
downloadphp-waddiwasi-08ddaf4597ad3a9d22433625d11d14bde1dfeafe.tar.gz
php-waddiwasi-08ddaf4597ad3a9d22433625d11d14bde1dfeafe.tar.zst
php-waddiwasi-08ddaf4597ad3a9d22433625d11d14bde1dfeafe.zip
feat: remove RubyVM example
Because the PHP-written RubyVM has not been updated recently and does not support the latest PHP.
Diffstat (limited to 'examples/rubyvm-on-php-on-wasm/HelloWorld.php')
-rw-r--r--examples/rubyvm-on-php-on-wasm/HelloWorld.php18
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();