3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php session_start(); session_decode('a|s:1:”a”;b|s:1:”b”;'); var_dump($_SESSION);
based on Zi2I0
Output for 5.4.45, 5.5.29 - 5.5.35, 5.6.13 - 7.2.0
Warning: session_decode(): Failed to decode session object. Session has been destroyed in /in/aWVXI on line 3 array(0) { }
Output for 5.3.21 - 5.4.44, 5.5.24 - 5.5.28, 5.6.8 - 5.6.12
array(2) { ["a"]=> NULL ["s:1:”a”;b"]=> NULL }