3v4l.org

run code in 300+ PHP versions simultaneously
<?php ?php $dbname='base'; if(!class_exists('SQLite3')) die("SQLite 3 NOT supported."); $base=new SQLite3($dbname, 0666); echo "SQLite 3 supported."; ?>
Output for 7.0.0 - 7.0.1
Parse error: syntax error, unexpected '?', expecting end of file in /in/706pv on line 2
Process exited with code 255.
Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.16
Parse error: syntax error, unexpected '?' in /in/706pv on line 2
Process exited with code 255.

preferences:
178.5 ms | 1395 KiB | 25 Q