3v4l.org

run code in 300+ PHP versions simultaneously
<?php class StreamTest { function stream_open($path, $mode, $options, &$opened_path) { return true; } function stream_close() { return ; } function stream_lock($mode) { printf( "0x%x\n", $mode ) ; return ; } } stream_register_wrapper("streamtest", "StreamTest"); $handle = fopen( 'streamtest://test', "r" ) ; flock( $handle, LOCK_EX ) ; flock( $handle, LOCK_UN ) ; fclose($handle) ;
Output for git.master, git.master_jit, rfc.property-hooks
Deprecated: Creation of dynamic property StreamTest::$context is deprecated in /in/7HCA8 on line 16 0x2 0x3

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