3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php session_start(); echo $_SESSION['name'] ?? "--name--". PHP_EOL; echo $_SESSION['time'] ?? "--time--". PHP_EOL;
Output for 7.0.0 - 7.2.0
--name-- --time--
Output for 5.3.21 - 5.6.21
Parse error: syntax error, unexpected '?' in /in/EDgl4 on line 4
Process exited with code 255.