3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php include 'ccxt.php'; var_dump (\ccxt\Exchange::$exchanges);
based on EaAQk
Output for 7.1.20, 7.2.6
Warning: include(): open_basedir restriction in effect. File(ccxt.php) is not within the allowed path(s): (/tmp:/in) in /in/tohgv on line 3 Warning: include(ccxt.php): failed to open stream: Operation not permitted in /in/tohgv on line 3 Warning: include(): Failed opening 'ccxt.php' for inclusion (include_path='.:') in /in/tohgv on line 3 Fatal error: Uncaught Error: Class 'ccxt\Exchange' not found in /in/tohgv:4 Stack trace: #0 {main} thrown in /in/tohgv on line 4
Process exited with code 255.
Output for 7.0.0 - 7.1.13, 7.2.0 - 7.2.1
Warning: include(ccxt.php): failed to open stream: No such file or directory in /in/tohgv on line 3 Warning: include(): Failed opening 'ccxt.php' for inclusion (include_path='.:') in /in/tohgv on line 3 Fatal error: Uncaught Error: Class 'ccxt\Exchange' not found in /in/tohgv:4 Stack trace: #0 {main} thrown in /in/tohgv on line 4
Process exited with code 255.
Output for hhvm-3.22.0
Warning: include(ccxt.php): File not found in /in/tohgv on line -1 Fatal error: Uncaught Error: Class undefined: ccxt\Exchange in /in/tohgv:-1 Stack trace: #0 {main}
Process exited with code 255.
Output for hhvm-3.18.5 - 3.21.3
Warning: include(ccxt.php): File not found in /in/tohgv on line 3 Fatal error: Uncaught Error: Class undefined: ccxt\Exchange in /in/tohgv:4 Stack trace: #0 {main}
Process exited with code 255.
Output for 5.6.0 - 5.6.30
Warning: include(ccxt.php): failed to open stream: No such file or directory in /in/tohgv on line 3 Warning: include(): Failed opening 'ccxt.php' for inclusion (include_path='.:') in /in/tohgv on line 3 Fatal error: Class 'ccxt\Exchange' not found in /in/tohgv on line 4
Process exited with code 255.