3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php /* Demerdez vous */ //fonction de recup dans la table yana $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.3.0 - 5.4.28
Parse error: syntax error, unexpected ';' in /in/m1BfJ on line 8
Process exited with code 255.