3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr = ['serialize_handler'=>'php_binary', 'hi'=>'test']; session_start($arr); session_write_close();
based on dWob9
Output for 7.0.0 - 7.2.0
Warning: session_start(): Setting option 'hi' failed in /in/mVsiZ on line 4 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/mVsiZ:4) in /in/mVsiZ on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/mVsiZ:4) in /in/mVsiZ on line 4
Output for 5.4.2 - 5.6.28
Output for 5.3.18 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/mVsiZ on line 3
Process exited with code 255.