3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Create eventloop $loop = \React\EventLoop\Factory::create(); // Create a socket $socket = new \React\Socket\Server($loop); $socket->listen(12345, '0.0.0.0'); // Bind to IP and port $node = new \WyriHaximus\PhuninNode\Node($loop, $socket); // Add plugins $node->addPlugin(new \WyriHaximus\PhuninNode\Plugins\Plugins()); $node->addPlugin(new \WyriHaximus\PhuninNode\Plugins\PluginsCategories()); $node->addPlugin(new \WyriHaximus\PhuninNode\Plugins\MemoryUsage()); $node->addPlugin(new \WyriHaximus\PhuninNode\Plugins\Uptime()); // Get rolling $loop->run();
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Class "React\EventLoop\Factory" not found in /in/vMYbE:4 Stack trace: #0 {main} thrown in /in/vMYbE on line 4
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
45.72 ms | 401 KiB | 8 Q