3v4l.org

run code in 300+ PHP versions simultaneously
<?php function output_html($ext) { return strlen($ext); } function open ($save_path, $session_name) { return true; } function close() { return true; } function read ($id) { } function write ($id, $sess_data) { ob_start("output_html"); echo "laruence"; ob_end_flush(); return true; } function destroy ($id) { } function gc ($maxlifetime) { return true; } session_set_save_handler ("open", "close", "read", "write", "destroy", "gc"); session_start();
Output for git.master, git.master_jit, rfc.property-hooks
Deprecated: Calling session_set_save_handler() with more than 2 arguments is deprecated in /in/n1nXC on line 31 Warning: session_set_save_handler(): Session save handler cannot be changed after headers have already been sent in /in/n1nXC on line 31 Warning: session_start(): Session cannot be started after headers have already been sent in /in/n1nXC on line 32

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:
41.93 ms | 402 KiB | 8 Q