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."; ?>

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
7.0.10.0130.06020.23
7.0.00.0030.07720.18
5.6.160.0100.08020.45
5.6.150.0000.05318.12
5.6.140.0100.08718.16
5.6.130.0030.05718.23
5.6.120.0070.06021.11
5.6.110.0130.07721.11
5.6.100.0070.06721.10
5.6.90.0070.08020.96
5.6.80.0130.03020.38
5.5.300.0000.07718.05
5.5.290.0070.03718.02
5.5.280.0070.05020.87
5.5.270.0170.06320.93
5.5.260.0070.07020.79
5.5.250.0130.08720.79
5.5.240.0130.06720.23

preferences:
141.12 ms | 1394 KiB | 7 Q