3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php session_decode('login_ok|b:1;nome|s:4:"sica";inteiro|i:34;'); var_dump($_SESSION);
Output for 7.0.0 - 7.1.0
Warning: session_decode(): Session is not active. You cannot decode session data in /in/VHrlo on line 3 Notice: Undefined variable: _SESSION in /in/VHrlo on line 4 NULL
Output for hhvm-3.10.0 - 3.12.0
array(0) { }
Output for 5.0.4 - 5.6.28
Notice: Undefined variable: _SESSION in /in/VHrlo on line 4 NULL
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: _SESSION in /in/VHrlo on line 4 NULL