3v4l.org

run code in 300+ PHP versions simultaneously
<?php $e = 'asert'; $db = new PDO('sqlite:sqlite.db3'); $db->sqliteCreateFunction('myfunc', $e, 1); $sth = $db->prepare("SELECT myfunc(:exec)"); $sth->execute(array(':exec' => 'phpinfo();'))

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)
5.6.120.0200.07320.98
5.6.110.0070.08320.86
5.6.100.0070.07721.02
5.6.90.0030.04021.01
5.6.80.0100.07020.51
5.5.280.0070.07020.68
5.5.270.0070.08320.75
5.5.260.0030.06320.75
5.5.250.0130.06320.58
5.5.240.0070.07320.19
5.4.440.0230.07019.57
5.4.430.0170.04719.24
5.4.420.0230.07319.55
5.4.410.0200.04719.42
5.4.400.0170.05719.10
5.4.390.0130.06718.92
5.4.380.0200.07018.92
5.4.370.0200.07018.89
5.4.360.0170.03719.08
5.4.350.0230.06719.09
5.4.340.0200.04719.24
5.4.320.0270.06718.81
5.4.310.0200.04018.91
5.4.300.0200.06019.15
5.4.290.0270.06018.77
5.4.280.0230.05319.24
5.4.270.0170.03718.93
5.4.260.0230.04018.92
5.4.250.0200.03319.21
5.4.240.0130.04019.12
5.4.230.0200.03319.06
5.4.220.0200.07319.08
5.4.210.0130.03719.13
5.4.200.0070.04019.09
5.4.190.0170.03718.92
5.4.180.0200.03318.92
5.4.170.0200.06018.80
5.4.160.0170.06719.22
5.4.150.0100.04319.23
5.4.140.0070.04316.44
5.4.130.0130.03716.30
5.4.120.0170.07016.42
5.4.110.0200.06016.34
5.4.100.0200.06316.39
5.4.90.0200.07016.19
5.4.80.0170.07016.20
5.4.70.0200.06316.38
5.4.60.0170.03316.48
5.4.50.0200.05316.36
5.4.40.0200.04016.40
5.4.30.0230.07016.43
5.4.20.0230.06316.16
5.4.10.0200.07016.04
5.4.00.0200.06315.87
5.3.290.0200.05714.50
5.3.280.0200.06014.50
5.3.270.0170.04314.57
5.3.260.0130.05014.45
5.3.250.0170.07014.56
5.3.240.0200.05714.51
5.3.230.0030.04714.46
5.3.220.0200.07714.62
5.3.210.0230.04314.52
5.3.200.0100.04314.46
5.3.190.0170.03714.62
5.3.180.0270.06014.41
5.3.170.0270.06714.66
5.3.160.0200.04714.40
5.3.150.0200.07014.40
5.3.140.0200.04314.40
5.3.130.0200.07014.40
5.3.120.0200.04714.56
5.3.110.0170.07014.60
5.3.100.0170.04713.90
5.3.90.0170.06313.87
5.3.80.0230.06713.86
5.3.70.0230.06713.88
5.3.60.0200.06713.85
5.3.50.0230.07013.79
5.3.40.0230.06713.73
5.3.30.0170.05013.71
5.3.20.0200.03713.64
5.3.10.0230.03313.50
5.3.00.0170.04013.55
5.2.170.0200.05711.09
5.2.160.0170.03010.99
5.2.150.0200.02711.17
5.2.140.0170.02711.05
5.2.130.0170.03011.04
5.2.120.0030.02710.95
5.2.110.0000.03011.04
5.2.100.0070.02711.18
5.2.90.1400.03010.95
5.2.80.2400.02310.98
5.2.70.2400.04010.94
5.2.60.2770.03011.06
5.2.50.2530.02710.96
5.2.40.2000.02310.90
5.2.30.1900.03310.82
5.2.20.1870.03011.00
5.2.10.2130.02310.78
5.2.00.1900.03010.65
5.1.60.0030.0239.89
5.1.50.0030.02310.08
5.1.40.0030.02310.02
5.1.30.0370.02710.45
5.1.20.2070.02710.43
5.1.10.1800.02010.01
5.1.00.1630.02310.04
5.0.50.0930.0238.64
5.0.40.0830.0208.39
5.0.30.1000.0338.27
5.0.20.0770.0208.17
5.0.10.0930.0208.08
5.0.00.0670.0338.38
4.4.90.0830.0107.68
4.4.80.0930.0207.68
4.4.70.0900.0177.68
4.4.60.1070.0137.68
4.4.50.1030.0177.68
4.4.40.0870.0237.68
4.4.30.1000.0177.68
4.4.20.0700.0177.68
4.4.10.0000.0177.68
4.4.00.0070.0237.68
4.3.110.0000.0137.68
4.3.100.0070.0177.68
4.3.90.0030.0137.68
4.3.80.0030.0237.68
4.3.70.0000.0137.68
4.3.60.0100.0137.68
4.3.50.0330.0177.68
4.3.40.0900.0207.68
4.3.30.0530.0207.68
4.3.20.0470.0177.68
4.3.10.0170.0177.68
4.3.00.0170.0137.68

preferences:
146.24 ms | 1394 KiB | 7 Q