3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = ['serialize_handler'=>'php_binary', 'hi'=>'test']; session_start($arr); var_dump($_SESSION);
Output for git.master, git.master_jit, rfc.property-hooks
Warning: session_start(): Setting option "hi" failed in /in/dWob9 on line 4 Warning: session_start(): Session cookie cannot be sent after headers have already been sent (output started at /in/dWob9:4) in /in/dWob9 on line 4 Warning: session_start(): Session cache limiter cannot be sent after headers have already been sent (output started at /in/dWob9:4) in /in/dWob9 on line 4 array(0) { }

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.02 ms | 402 KiB | 8 Q