3v4l.org

run code in 200+ 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 - 7.2.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 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)