3v4l.org

run code in 200+ 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 - 7.1.7
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 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