3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php session_decode('user_agent|s:10:"test|i:5;'); var_dump($_SESSION);
based on 2elt6
Output for 7.0.0 - 7.2.0
Warning: session_decode(): Session is not active. You cannot decode session data in /in/TXIkc on line 4 Notice: Undefined variable: _SESSION in /in/TXIkc on line 5 NULL
Output for 5.3.21 - 5.6.28
Notice: Undefined variable: _SESSION in /in/TXIkc on line 5 NULL