3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php session_start(); /*session is started if you don't write this line can't use $_Session global variable*/ $_SESSION["newsession"]=$value; /*session created*/ echo $_SESSION["newsession"]; /*session was getting*/ ?>
Output for 5.5.0 - 5.6.30, hhvm-3.10.1 - 3.21.3, 7.0.0 - 7.2.0
Notice: Undefined variable: value in /in/PgKdE on line 4
Output for hhvm-3.22.0
Notice: Undefined variable: value in /in/PgKdE on line -1