3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $db_handle = "sqlite_open((dirname(dirname('db/database.db'), 0666, $error)" ; // gestion des erreurs if (!empty($error)) { echo 'erreur'; die('Erreur SQLite : '.$error); } $query = "SELECT * FROM 'yana_plugin_temp' WHERE id < 3 ORDER BY id"; $result = sqlite_array_query($db_handle, $query, SQLITE_ASSOC); if($result != ''){ echo $result;} else{ echo 'fuck'; //fermeture de la base sqlite_close($db_handle); ?>
Output for 5.4.0 - 5.4.28
Parse error: syntax error, unexpected end of file in /in/nffnB on line 28
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected $end in /in/nffnB on line 28
Process exited with code 255.