3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php require_once "dropbox/lib/Dropbox/autoload.php"; use \Dropbox as dbx; $appInfo = dbx\AppInfo::loadFromJsonFile("app_info.json");
based on 3GFNp
Output for 5.3.0 - 7.1.10, 7.2.0, 7.3.0alpha1 - 7.3.0beta1
Warning: require_once(dropbox/lib/Dropbox/autoload.php): failed to open stream: No such file or directory in /in/Dg3mB on line 4 Fatal error: require_once(): Failed opening required 'dropbox/lib/Dropbox/autoload.php' (include_path='.:') in /in/Dg3mB on line 4
Process exited with code 255.
Output for 7.1.20, 7.2.6
Warning: require_once(): open_basedir restriction in effect. File(dropbox/lib/Dropbox/autoload.php) is not within the allowed path(s): (/tmp:/in) in /in/Dg3mB on line 4 Warning: require_once(dropbox/lib/Dropbox/autoload.php): failed to open stream: Operation not permitted in /in/Dg3mB on line 4 Fatal error: require_once(): Failed opening required 'dropbox/lib/Dropbox/autoload.php' (include_path='.:') in /in/Dg3mB on line 4
Process exited with code 255.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.2.17
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/Dg3mB on line 5 Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or '(' in /in/Dg3mB on line 5
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/Dg3mB on line 5 Parse error: parse error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or '(' in /in/Dg3mB on line 5
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/Dg3mB on line 5 Parse error: parse error, expecting `T_CONSTANT_ENCAPSED_STRING' or `'('' in /in/Dg3mB on line 5
Process exited with code 255.