3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php define('DIR_MODELS','test'); define('DIRNAME_AUTHENTICATION','derp'); define('DIRNAME_AUTHENITCATION','derp'); define('DIRNAME_AUTHENITCATION_TYPES','derptest'); define('DIRNAME_AUTHENTICATION_TYPES','derptest'); $file = 'test.php'; echo (implode('/',array(DIR_MODELS,DIRNAME_AUTHENTICATION,DIRNAME_AUTHENTICATION_TYPES,$atHandle,$_file)) == DIR_MODELS . '/' . DIRNAME_AUTHENITCATION . '/' . DIRNAME_AUTHENITCATION_TYPES . '/' . $atHandle . '/' . $_file ? 'WORKED':'failed');
Output for 5.0.4 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
Notice: Undefined variable: atHandle in /in/YDrcS on line 9 Notice: Undefined variable: _file in /in/YDrcS on line 9 Notice: Undefined variable: atHandle in /in/YDrcS on line 9 Notice: Undefined variable: _file in /in/YDrcS on line 9 WORKED
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: atHandle in /in/YDrcS on line 9 Notice: Undefined variable: _file in /in/YDrcS on line 9 Notice: Undefined variable: atHandle in /in/YDrcS on line 9 Notice: Undefined variable: _file in /in/YDrcS on line 9 WORKED