3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php include __DIR__ . '/../config/cfg.php'; include_once(CARABI_DIR . '/classes/class.carabiSite.php'); //echo '1'; //die('1'); carabiSite::prepare(); //echo '1'; //die('1'); global $currentUser; $currentUser = new WebUserAuth(); $currentUser->tokenAuthorize(); $currentUser->actAsCommonUser(); carabiSite::execute(); global $conn; oci_close($conn); ?>
Output for 7.0.0 - 7.1.0
Warning: include(/in/../config/cfg.php): failed to open stream: No such file or directory in /in/b8gvo on line 2 Warning: include(): Failed opening '/in/../config/cfg.php' for inclusion (include_path='.:') in /in/b8gvo on line 2 Notice: Use of undefined constant CARABI_DIR - assumed 'CARABI_DIR' in /in/b8gvo on line 3 Warning: include_once(CARABI_DIR/classes/class.carabiSite.php): failed to open stream: No such file or directory in /in/b8gvo on line 3 Warning: include_once(): Failed opening 'CARABI_DIR/classes/class.carabiSite.php' for inclusion (include_path='.:') in /in/b8gvo on line 3 Fatal error: Uncaught Error: Class 'carabiSite' not found in /in/b8gvo:6 Stack trace: #0 {main} thrown in /in/b8gvo on line 6
Process exited with code 255.
Output for hhvm-3.12.0
Warning: File not found: /in/../config/cfg.php in /in/b8gvo on line 2 Notice: Use of undefined constant CARABI_DIR - assumed 'CARABI_DIR' in /in/b8gvo on line 3 Warning: File not found: CARABI_DIR/classes/class.carabiSite.php in /in/b8gvo on line 3 Fatal error: Uncaught Error: Class undefined: carabiSite in /in/b8gvo:6 Stack trace: #0 {main}
Process exited with code 255.
Output for hhvm-3.10.0
Warning: File not found: /in/../config/cfg.php in /in/b8gvo on line 2 Notice: Use of undefined constant CARABI_DIR - assumed 'CARABI_DIR' in /in/b8gvo on line 3 Warning: File not found: CARABI_DIR/classes/class.carabiSite.php in /in/b8gvo on line 3 Fatal error: Class undefined: carabiSite in /in/b8gvo on line 6
Process exited with code 255.
Output for 5.3.0 - 5.6.28
Warning: include(/in/../config/cfg.php): failed to open stream: No such file or directory in /in/b8gvo on line 2 Warning: include(): Failed opening '/in/../config/cfg.php' for inclusion (include_path='.:') in /in/b8gvo on line 2 Notice: Use of undefined constant CARABI_DIR - assumed 'CARABI_DIR' in /in/b8gvo on line 3 Warning: include_once(CARABI_DIR/classes/class.carabiSite.php): failed to open stream: No such file or directory in /in/b8gvo on line 3 Warning: include_once(): Failed opening 'CARABI_DIR/classes/class.carabiSite.php' for inclusion (include_path='.:') in /in/b8gvo on line 3 Fatal error: Class 'carabiSite' not found in /in/b8gvo on line 6
Process exited with code 255.
Output for 5.1.0 - 5.2.17
Notice: Use of undefined constant __DIR__ - assumed '__DIR__' in /in/b8gvo on line 2 Warning: include(__DIR__/../config/cfg.php): failed to open stream: No such file or directory in /in/b8gvo on line 2 Warning: include(): Failed opening '__DIR__/../config/cfg.php' for inclusion (include_path='.:') in /in/b8gvo on line 2 Notice: Use of undefined constant CARABI_DIR - assumed 'CARABI_DIR' in /in/b8gvo on line 3 Warning: include_once(CARABI_DIR/classes/class.carabiSite.php): failed to open stream: No such file or directory in /in/b8gvo on line 3 Warning: include_once(): Failed opening 'CARABI_DIR/classes/class.carabiSite.php' for inclusion (include_path='.:') in /in/b8gvo on line 3 Fatal error: Class 'carabiSite' not found in /in/b8gvo on line 6
Process exited with code 255.
Output for 5.0.0 - 5.0.5
Notice: Use of undefined constant __DIR__ - assumed '__DIR__' in /in/b8gvo on line 2 Warning: main(__DIR__/../config/cfg.php): failed to open stream: No such file or directory in /in/b8gvo on line 2 Warning: main(): Failed opening '__DIR__/../config/cfg.php' for inclusion (include_path='.:') in /in/b8gvo on line 2 Notice: Use of undefined constant CARABI_DIR - assumed 'CARABI_DIR' in /in/b8gvo on line 3 Warning: main(CARABI_DIR/classes/class.carabiSite.php): failed to open stream: No such file or directory in /in/b8gvo on line 3 Warning: main(): Failed opening 'CARABI_DIR/classes/class.carabiSite.php' for inclusion (include_path='.:') in /in/b8gvo on line 3 Fatal error: Class 'carabiSite' not found in /in/b8gvo on line 6
Process exited with code 255.
Output for 4.3.2 - 4.4.9
Notice: Use of undefined constant __DIR__ - assumed '__DIR__' in /in/b8gvo on line 2 Warning: main(__DIR__/../config/cfg.php): failed to open stream: No such file or directory in /in/b8gvo on line 2 Warning: main(): Failed opening '__DIR__/../config/cfg.php' for inclusion (include_path='.:') in /in/b8gvo on line 2 Notice: Use of undefined constant CARABI_DIR - assumed 'CARABI_DIR' in /in/b8gvo on line 3 Warning: main(CARABI_DIR/classes/class.carabiSite.php): failed to open stream: No such file or directory in /in/b8gvo on line 3 Warning: main(): Failed opening 'CARABI_DIR/classes/class.carabiSite.php' for inclusion (include_path='.:') in /in/b8gvo on line 3 Fatal error: Undefined class name 'carabisite' in /in/b8gvo on line 6
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Notice: Use of undefined constant __DIR__ - assumed '__DIR__' in /in/b8gvo on line 2 Warning: main(__DIR__/../config/cfg.php) [http://www.php.net/function.main]: failed to create stream: No such file or directory in /in/b8gvo on line 2 Warning: main() [http://www.php.net/function.main]: Failed opening '__DIR__/../config/cfg.php' for inclusion (include_path='.:') in /in/b8gvo on line 2 Notice: Use of undefined constant CARABI_DIR - assumed 'CARABI_DIR' in /in/b8gvo on line 3 Warning: main(CARABI_DIR/classes/class.carabiSite.php) [http://www.php.net/function.main]: failed to create stream: No such file or directory in /in/b8gvo on line 3 Warning: main() [http://www.php.net/function.main]: Failed opening 'CARABI_DIR/classes/class.carabiSite.php' for inclusion (include_path='.:') in /in/b8gvo on line 3 Fatal error: Undefined class name 'carabisite' in /in/b8gvo on line 6