3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php require_once('mega.class.php'); $megafile = new MEGA('https://mega.co.nz/#!mQs2HBDR!bJo9vYwTXYtHn_0hAEMkeiSYpKr6mC2nBlDsZaoUXRct'); $megafile->stream_download(); // to download using streams ?>
Output for 5.6.0 - 7.3.0
Warning: require_once(): open_basedir restriction in effect. File(mega.class.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/khsbt on line 2 Warning: require_once(mega.class.php): failed to open stream: Operation not permitted in /in/khsbt on line 2 Fatal error: require_once(): Failed opening required 'mega.class.php' (include_path='.:') in /in/khsbt on line 2
Process exited with code 255.
Output for 5.1.0 - 5.5.38
Warning: require_once(mega.class.php): failed to open stream: No such file or directory in /in/khsbt on line 2 Fatal error: require_once(): Failed opening required 'mega.class.php' (include_path='.:') in /in/khsbt on line 2
Process exited with code 255.
Output for 4.3.2 - 5.0.5
Warning: main(mega.class.php): failed to open stream: No such file or directory in /in/khsbt on line 2 Fatal error: main(): Failed opening required 'mega.class.php' (include_path='.:') in /in/khsbt on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Warning: main(mega.class.php) [http://www.php.net/function.main]: failed to create stream: No such file or directory in /in/khsbt on line 2 Fatal error: main() [http://www.php.net/function.main]: Failed opening required 'mega.class.php' (include_path='.:') in /in/khsbt on line 2