3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_GET['search'] = "' onclick='alert(1337)"; ?> <input name=search value='<?= htmlspecialchars($_GET['search']); ?>'>

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.3.140.0000.01517.02
8.3.130.0050.00318.31
8.3.120.0110.00019.18
8.3.110.0060.00316.60
8.3.100.0040.00824.06
8.3.90.0000.00826.77
8.3.80.0060.00318.43
8.3.70.0110.01118.68
8.3.60.0120.00918.31
8.3.50.0130.00720.34
8.3.40.0150.00018.77
8.3.30.0110.00418.72
8.3.20.0080.00024.18
8.3.10.0080.00024.66
8.3.00.0000.00726.16
8.2.250.0050.00316.52
8.2.240.0080.00018.82
8.2.230.0030.00620.94
8.2.220.0030.00637.54
8.2.210.0110.00326.77
8.2.200.0100.00018.16
8.2.190.0100.01016.63
8.2.180.0170.00025.92
8.2.170.0150.00319.09
8.2.160.0080.00522.96
8.2.150.0050.00325.66
8.2.140.0050.00324.66
8.2.130.0070.00726.16
8.2.120.0060.00320.79
8.2.110.0030.00620.96
8.2.100.0000.01117.91
8.2.90.0020.00519.34
8.2.80.0050.00317.97
8.2.70.0000.00918.05
8.2.60.0040.00417.93
8.2.50.0080.00018.07
8.2.40.0050.00319.93
8.2.30.0030.00717.99
8.2.20.0040.00420.30
8.2.10.0070.00018.09
8.2.00.0070.00018.81
8.1.300.0060.00317.67
8.1.290.0080.00030.84
8.1.280.0070.01025.92
8.1.270.0040.00423.99
8.1.260.0120.00626.35
8.1.250.0000.00828.09
8.1.240.0090.00023.84
8.1.230.0040.00821.02
8.1.220.0000.00917.76
8.1.210.0060.00318.88
8.1.200.0040.00417.35
8.1.190.0030.00617.22
8.1.180.0070.00018.10
8.1.170.0060.00318.66
8.1.160.0000.00818.73
8.1.150.0040.00418.48
8.1.140.0030.00517.38
8.1.130.0080.00417.79
8.1.120.0100.00117.38
8.1.110.0040.00817.35
8.1.100.0030.00817.36
8.1.90.0060.00817.38
8.1.80.0110.00217.49
8.1.70.0080.00417.30
8.1.60.0070.00917.60
8.1.50.0140.00217.50
8.1.40.0110.00517.54
8.1.30.0140.00417.60
8.1.20.0110.00517.56
8.1.10.0150.00217.50
8.1.00.0120.00217.46
8.0.300.0040.00420.04
8.0.290.0080.00016.63
8.0.280.0030.00518.25
8.0.270.0040.00417.95
8.0.260.0060.00417.29
8.0.250.0110.00216.82
8.0.240.0100.00316.81
8.0.230.0050.00816.82
8.0.220.0070.00516.75
8.0.210.0120.00116.75
8.0.200.0100.00516.76
8.0.190.0090.00716.74
8.0.180.0120.00416.83
8.0.170.0090.00616.75
8.0.160.0090.00616.81
8.0.150.0090.00516.71
8.0.140.0040.00716.76
8.0.130.0090.00316.67
8.0.120.0090.00316.74
8.0.110.0050.00716.72
8.0.100.0050.00716.78
8.0.90.0080.00416.76
8.0.80.0090.00316.76
8.0.70.0070.00616.70
8.0.60.0060.00716.77
8.0.50.0070.00716.77
8.0.30.0100.00516.74
8.0.20.0110.00316.77
8.0.10.0090.00416.92
7.4.330.0060.00415.92
7.4.320.0110.00316.57
7.4.300.0060.00716.54
7.4.290.0110.00316.62
7.4.280.0100.00716.55
7.4.270.0130.00216.59
7.4.260.0090.00516.55
7.4.250.0100.00516.59
7.4.240.0110.00616.55
7.4.230.0140.00416.60
7.4.220.0050.00816.61
7.4.210.0090.00416.57
7.4.200.0080.00516.64
7.4.190.0130.00216.59
7.4.180.0130.00216.58
7.4.160.0120.00216.63
7.4.150.0100.00516.54
7.4.140.0100.00516.47
7.4.130.0110.00416.53
7.4.120.0110.00416.50
7.4.110.0090.00616.51
7.4.100.0100.00516.49
7.4.90.0130.00216.49
7.4.80.0090.00616.52
7.4.70.0090.00516.48
7.4.60.0070.00516.53
7.4.50.0090.00616.54
7.4.40.0080.00516.41
7.4.30.0080.00616.49
7.4.20.0090.00516.50
7.4.10.0080.00716.57
7.4.00.0080.00416.54

preferences:
61.96 ms | 403 KiB | 5 Q