3v4l.org

run code in 300+ PHP versions simultaneously
<?php class StreamWrapper { public function stream_open($path, $mode, $options, &$opened_path) { return true; } public function stream_stat() { return stat(__FILE__); } public function stream_read($count) { return ''; } public function stream_eof() { return true; } } stream_wrapper_register('test', StreamWrapper::class); require_once('test://foo');
Output for git.master, git.master_jit, rfc.property-hooks
Deprecated: Creation of dynamic property StreamWrapper::$context is deprecated in /in/QjgOW on line 19 Warning: require_once(): StreamWrapper::stream_set_option is not implemented! in /in/QjgOW on line 19

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:
71.02 ms | 401 KiB | 8 Q