3v4l.org

run code in 300+ PHP versions simultaneously
<?php // --taint-analysis $foo = "foo' union all select * from secrets where '1' = '1"; $sql = "SELECT * from example_table WHERE foobar = '$foo'"; echo $sql;

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)
8.4.140.0120.00917.45
8.4.130.0110.00917.30
8.4.120.0120.00720.34
8.4.110.0110.01018.93
8.4.100.0080.00818.63
8.4.90.0100.01020.36
8.4.80.0020.00618.94
8.4.70.0140.00718.89
8.4.60.0120.01018.75
8.4.50.0130.00718.55
8.4.40.0130.00618.66
8.4.30.0110.01018.43
8.4.20.0120.00617.72
8.4.10.0030.00622.04
8.3.270.0100.00916.66
8.3.260.0120.00716.50
8.3.250.0120.00617.00
8.3.240.0080.01216.23
8.3.230.0100.00916.37
8.3.220.0140.00418.89
8.3.210.0070.00616.74
8.3.200.0040.00516.71
8.3.190.0080.00618.78
8.3.180.0110.00818.70
8.3.170.0050.00319.03
8.3.160.0180.00018.78
8.3.150.0110.00717.29
8.3.140.0080.00020.59
8.3.130.0060.01318.19
8.3.120.0040.00420.67
8.3.110.0130.00320.94
8.3.100.0060.00324.06
8.3.90.0150.00026.77
8.3.80.0060.00318.30
8.3.70.0090.00916.73
8.3.60.0150.00318.18
8.3.50.0030.01219.87
8.3.40.0090.00919.66
8.3.30.0040.01418.64
8.3.20.0040.00424.18
8.3.10.0080.00024.66
8.3.00.0080.00026.16
8.2.290.0040.00318.84
8.2.280.0120.00818.31
8.2.270.0090.00916.65
8.2.260.0140.00416.43
8.2.250.0140.00418.29
8.2.240.0150.00316.84
8.2.230.0080.00022.58
8.2.220.0000.00937.54
8.2.210.0070.01126.77
8.2.200.0000.00816.50
8.2.190.0030.01416.58
8.2.180.0110.00425.92
8.2.170.0070.00718.83
8.2.160.0170.00022.96
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0000.00726.16
8.2.110.0060.00322.13
8.2.100.0040.00817.78
8.2.90.0030.00617.63
8.2.80.0040.00418.82
8.2.70.0040.00417.50
8.2.60.0060.00317.75
8.2.50.0030.00518.04
8.2.40.0000.00818.07
8.2.30.0000.00718.05
8.2.20.0030.00319.23
8.2.10.0000.00718.00
8.2.00.0040.00419.34
8.1.330.0150.00416.02
8.1.320.0150.00716.04
8.1.310.0030.00517.77
8.1.300.0120.00618.14
8.1.290.0060.00330.84
8.1.280.0140.00025.92
8.1.270.0090.00324.66
8.1.260.0070.00026.35
8.1.250.0060.00328.09
8.1.240.0000.00920.20
8.1.230.0040.00717.70
8.1.220.0040.00418.73
8.1.210.0060.00318.77
8.1.200.0060.00317.13
8.1.190.0040.00417.23
8.1.180.0050.00318.10
8.1.170.0040.00417.62
8.1.160.0030.00318.88
8.1.150.0040.00418.55
8.1.140.0080.00017.36
8.1.130.0030.00619.00
8.1.120.0030.00517.41
8.1.110.0060.00317.30
8.1.100.0070.00017.29
8.1.90.0080.00417.36
8.1.80.0130.00317.33
8.1.70.0140.00317.28
8.1.60.0130.00417.41
8.1.50.0190.00017.33
8.1.40.0050.01317.48
8.1.30.0190.00017.46
8.1.20.0160.00317.61
8.1.10.0190.00017.48
8.1.00.0170.00317.33
8.0.300.0040.00418.77
8.0.290.0070.00017.18
8.0.280.0070.00018.37
8.0.270.0000.00716.69
8.0.260.0000.00618.49
8.0.250.0040.00416.86
8.0.240.0070.00016.81
8.0.230.0000.00716.93
8.0.220.0120.00416.86
8.0.210.0120.00316.90
8.0.200.0080.00816.86
8.0.190.0090.00416.93
8.0.180.0090.00616.89
8.0.170.0080.00416.84
8.0.160.0060.00916.75
8.0.150.0140.00216.77
8.0.140.0110.00616.84
8.0.130.0090.00616.80
8.0.120.0070.00716.75
8.0.110.0080.00616.76
8.0.100.0090.00616.80
8.0.90.0150.00016.68
8.0.80.0120.00416.86
8.0.70.0120.00016.78
8.0.60.0090.00516.76
8.0.50.0080.00416.76
8.0.30.0100.00716.77
8.0.20.0120.00316.87
8.0.10.0090.00416.83
7.4.330.0000.00516.67
7.4.320.0050.00216.36
7.4.300.0070.00716.47
7.4.290.0100.00316.38
7.4.280.0170.00016.57
7.4.270.0180.00016.43
7.4.260.0110.00516.43
7.4.250.0050.00916.46
7.4.240.0080.01016.38
7.4.230.0110.00316.37
7.4.220.0000.01516.34
7.4.210.0150.00016.47
7.4.200.0090.00616.39
7.4.190.0070.00716.41
7.4.180.0140.00016.55
7.4.160.0100.00716.58
7.4.150.0060.00616.44
7.4.140.0100.00316.47
7.4.130.0150.00016.39
7.4.120.0140.00016.46
7.4.110.0090.00616.38
7.4.100.0150.00016.55
7.4.90.0050.00916.25
7.4.80.0050.00816.37
7.4.70.0120.00016.26
7.4.60.0080.00516.39
7.4.50.0030.00816.10
7.4.40.0040.00816.17
7.4.30.0110.00316.16
7.4.20.0090.00316.21
7.4.10.0040.00816.21
7.4.00.0030.00616.42
7.3.200.0080.00316.06
4.3.60.0010.00210.14

preferences:
34.24 ms | 403 KiB | 5 Q