3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php /* Demerdez vous */ echo 'erreur'; //fonction de recup dans la table yana $db_place = (dirname(dirname('db/database.db') $db_handle = sqlite_open($db_place, 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 '$db_handle' (T_VARIABLE) in /in/nZahD on line 10
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_VARIABLE in /in/nZahD on line 10
Process exited with code 255.