3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php //$host = 'blub'; if ($host) { $configFileName = APP_PATH . '/vendor/config/config.' . $host . '.php'; } var_dump($host, $configFileName, !isset($configFileName));
Output for 5.0.4 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
Notice: Undefined variable: host in /in/XiWf0 on line 4 Notice: Undefined variable: host in /in/XiWf0 on line 7 Notice: Undefined variable: configFileName in /in/XiWf0 on line 7 NULL NULL bool(true)
Output for hhvm-3.10.0
Notice: Undefined variable: host in /in/XiWf0 on line 13 Notice: Undefined variable: host in /in/XiWf0 on line 30 Notice: Undefined variable: configFileName in /in/XiWf0 on line 30 NULL NULL bool(true)
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: host in /in/XiWf0 on line 4 Notice: Undefined variable: host in /in/XiWf0 on line 7 Notice: Undefined variable: configFileName in /in/XiWf0 on line 7 NULL NULL bool(true)