3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php require_once('safemysql.class.php'); require_once('config.php'); $db = new SafeMySQL(array('host' => $host,'user' => $user, 'pass' => $pass, 'db' => $db, 'charset' => $charset)); $data = $db->getAll('SELECT * FROM ?n ORDER BY id' ,$table); ?>
Output for 5.1.0 - 5.6.28, 7.0.0 - 7.1.0
Warning: require_once(safemysql.class.php): failed to open stream: No such file or directory in /in/bIe1e on line 2 Fatal error: require_once(): Failed opening required 'safemysql.class.php' (include_path='.:') in /in/bIe1e on line 2
Process exited with code 255.
Output for hhvm-3.13.2
Fatal error: Uncaught Error: require_once(safemysql.class.php): File not found in /in/bIe1e:2 Stack trace: #0 {main}
Process exited with code 255.
Output for hhvm-3.12.0
Fatal error: Uncaught Error: File not found: safemysql.class.php in /in/bIe1e:2 Stack trace: #0 {main}
Process exited with code 255.
Output for hhvm-3.10.0
Fatal error: File not found: safemysql.class.php in /in/bIe1e on line 2
Process exited with code 255.
Output for 4.3.2 - 5.0.5
Warning: main(safemysql.class.php): failed to open stream: No such file or directory in /in/bIe1e on line 2 Fatal error: main(): Failed opening required 'safemysql.class.php' (include_path='.:') in /in/bIe1e on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Warning: main(safemysql.class.php) [http://www.php.net/function.main]: failed to create stream: No such file or directory in /in/bIe1e on line 2 Fatal error: main() [http://www.php.net/function.main]: Failed opening required 'safemysql.class.php' (include_path='.:') in /in/bIe1e on line 2