3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Handler { protected $_sp; public function __construct() { $this->_sp = fopen('wrap://lalal', [^] 'a'); } } class Wrapper { protected $_fp; public function stream_close() { die('waa'); } public function stream_open($path, $mode) { $this->_fp = fopen('/tmp/asdf', $mode); return true; } } stream_wrapper_register('wrap', 'Wrapper'); class Manager { public static $stuff; } Manager::$stuff = new stdClass(); Manager::$stuff->Logs = new Handler;
Output for git.master_jit, git.master
Parse error: syntax error, unexpected token "^", expecting "]" in /in/DjiVG on line 9
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:
142.58 ms | 1394 KiB | 9 Q