3v4l.org

run code in 500+ PHP versions simultaneously
<?php $db = new SQLite3(':memory:'); $db->exec("CREATE TABLE foo (bar int)"); $db->exec("INSERT INTO foo VALUES (42)"); var_dump($db->querySingle("SELECT bar FROM foo"));

preferences:
51.25 ms | 1631 KiB | 5 Q