3v4l.org

run code in 300+ 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:
52.86 ms | 402 KiB | 5 Q