3v4l.org

run code in 300+ PHP versions simultaneously
<?php require 'vendor/autoload.php'; $whoops = new \Whoops\Run; $whoops->pushHandler(new \Whoops\Handler\PrettyPageHandler); $whoops->register(); eval('function test() { //some code here throw new Exception(); }'); test();
Output for 8.0.0 - 8.0.12, 8.0.14 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.7
Warning: require(): open_basedir restriction in effect. File(vendor/autoload.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/dLBi9 on line 3 Warning: require(vendor/autoload.php): Failed to open stream: Operation not permitted in /in/dLBi9 on line 3 Fatal error: Uncaught Error: Failed opening required 'vendor/autoload.php' (include_path='.:') in /in/dLBi9:3 Stack trace: #0 {main} thrown in /in/dLBi9 on line 3
Process exited with code 255.
Output for 8.0.13
Warning: require(vendor/autoload.php): Failed to open stream: No such file or directory in /in/dLBi9 on line 3 Fatal error: Uncaught Error: Failed opening required 'vendor/autoload.php' (include_path='.:') in /in/dLBi9:3 Stack trace: #0 {main} thrown in /in/dLBi9 on line 3
Process exited with code 255.
Output for 5.4.2 - 5.4.45, 5.5.24 - 5.5.35, 5.6.7 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.7, 7.3.32 - 7.3.33, 7.4.33
Warning: require(vendor/autoload.php): failed to open stream: No such file or directory in /in/dLBi9 on line 3 Fatal error: require(): Failed opening required 'vendor/autoload.php' (include_path='.:') in /in/dLBi9 on line 3
Process exited with code 255.
Output for 7.1.26 - 7.1.33, 7.2.17 - 7.2.33, 7.3.0 - 7.3.31, 7.4.0 - 7.4.32
Warning: require(): open_basedir restriction in effect. File(vendor/autoload.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/dLBi9 on line 3 Warning: require(vendor/autoload.php): failed to open stream: Operation not permitted in /in/dLBi9 on line 3 Fatal error: require(): Failed opening required 'vendor/autoload.php' (include_path='.:') in /in/dLBi9 on line 3
Process exited with code 255.

preferences:
164.9 ms | 403 KiB | 254 Q