3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $result = 5 * $variable; $variable; //echo $variable; // Undefined //echo $variable = 'ok'; //string ?>
Output for 5.3.0 - 5.6.30, 7.0.0 - 7.1.7
Notice: Undefined variable: variable in /in/mvlK5 on line 3
Output for hhvm-3.12.14 - 3.17.3
Notice: Undefined variable: variable in /in/mvlK5 on line 3 Notice: Undefined variable: variable in /in/mvlK5 on line 4
Output for hhvm-3.10.1 - 3.11.1

Process exited with code 137.