3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php session_decode('a|s:1:”a”;b|s:1:”b”;'); var_dump($_SESSION);
based on ZHFtO
Output for 7.0.0 - 7.2.0
Warning: session_decode(): Session is not active. You cannot decode session data in /in/Zi2I0 on line 2 Notice: Undefined variable: _SESSION in /in/Zi2I0 on line 3 NULL
Output for 5.3.21 - 5.6.28
Notice: Undefined variable: _SESSION in /in/Zi2I0 on line 3 NULL