3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $var; $arrayvar = array(); var_dump($var['ola']);
Output for 5.1.0 - 7.1.0
Notice: Undefined variable: var in /in/Yigbu on line 5 NULL
Output for 5.0.4 - 5.0.5
Notice: Undefined variable: var in /in/Yigbu on line 2 Notice: Undefined variable: var in /in/Yigbu on line 5 NULL
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: var in /in/Yigbu on line 2 Notice: Undefined variable: var in /in/Yigbu on line 5 NULL