3v4l.org

run code in 300+ PHP versions simultaneously
<? echo("<p>Search results for query: "; $_GET['query'] . ".</p>"); ?> <? echo("<p>Search results for query: "; htmlspecialchars($_GET['query']) . ".</p>"); ?> <?php if (isset($_GET['query'])) { echo '<p>Search results for query: ', htmlspecialchars($_GET['query'], ENT_QUOTES), '.</p>'; } ?>

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.60.0090.00918.30
8.3.50.0140.00721.05
8.3.40.0120.00318.80
8.3.30.0140.00319.01
8.3.20.0140.00020.16
8.3.10.0060.00823.65
8.3.00.0120.00319.25
8.2.180.0000.01416.63
8.2.170.0140.00722.96
8.2.160.0070.00720.17
8.2.150.0060.00924.18
8.2.140.0090.00924.66
8.2.130.0090.00626.16
8.2.120.0040.00720.37
8.2.110.0040.00720.38
8.2.100.0080.00417.91
8.2.90.0070.00417.95
8.2.80.0030.00617.97
8.2.70.0000.00817.38
8.2.60.0150.00017.90
8.2.50.0050.00318.07
8.2.40.0000.00818.22
8.2.30.0040.00418.05
8.2.20.0070.00017.74
8.2.10.0040.00417.97
8.2.00.0040.00417.62
8.1.280.0150.00625.92
8.1.270.0070.01023.79
8.1.260.0090.00626.35
8.1.250.0030.01228.09
8.1.240.0060.00322.14
8.1.230.0040.00720.93
8.1.220.0050.00317.74
8.1.210.0000.00918.85
8.1.200.0060.00317.22
8.1.190.0000.00817.13
8.1.180.0000.00818.10
8.1.170.0050.00320.37
8.1.160.0040.00421.96
8.1.150.0040.00418.83
8.1.140.0000.00717.27
8.1.130.0000.00817.64
8.1.120.0070.00017.46
8.1.110.0000.00717.36
8.1.100.0030.00517.46
8.1.90.0030.00517.39
8.1.80.0000.00717.36
8.1.70.0030.00317.34
8.1.60.0040.00417.49
8.1.50.0040.00417.49
8.1.40.0040.00417.46
8.1.30.0030.00617.61
8.1.20.0030.00617.48
8.1.10.0000.00717.55
8.1.00.0030.00617.44
8.0.300.0080.00020.23
8.0.290.0040.00416.75
8.0.280.0070.00018.38
8.0.270.0080.00017.18
8.0.260.0000.00617.19
8.0.250.0000.00716.89
8.0.240.0000.00616.92
8.0.230.0030.00316.77
8.0.220.0000.00716.88
8.0.210.0000.00616.70
8.0.200.0000.00716.88
8.0.190.0080.00016.78
8.0.180.0050.00316.74
8.0.170.0000.00816.92
8.0.160.0030.00516.86
8.0.150.0040.00416.81
8.0.140.0000.00716.74
8.0.130.0030.00313.44
8.0.120.0000.01016.80
8.0.110.0000.00716.72
8.0.100.0040.00316.69
8.0.90.0080.00016.70
8.0.80.0070.01116.88
8.0.70.0040.00416.70
8.0.60.0000.00716.64
8.0.50.0070.00016.87
8.0.30.0120.00717.16
8.0.20.0030.01517.40
8.0.10.0050.00216.93
8.0.00.0070.01016.75
7.4.330.0060.00015.15
7.4.320.0000.00916.52
7.4.300.0030.00316.54
7.4.290.0000.00716.46
7.4.280.0000.00716.45
7.4.270.0030.00316.43
7.4.260.0030.00316.32
7.4.250.0040.00416.45
7.4.240.0050.00216.52
7.4.230.0070.00016.56
7.4.220.0110.00716.55
7.4.210.0030.01616.56
7.4.200.0030.00516.52
7.4.160.0030.01216.48
7.4.150.0100.00717.40
7.4.140.0120.01117.86
7.4.130.0140.00516.40
7.4.120.0060.01116.46
7.4.110.0100.01016.63
7.4.100.0060.01016.36
7.4.90.0060.01216.36
7.4.80.0080.01319.39
7.4.70.0060.01216.53
7.4.60.0070.01116.47
7.4.50.0030.00616.41
7.4.40.0120.00416.38
7.4.30.0070.01116.32
7.3.330.0000.00612.98
7.3.320.0050.00013.14
7.3.310.0000.00816.27
7.3.300.0000.00716.23
7.3.290.0090.00416.19
7.3.280.0100.00816.26
7.3.270.0130.00717.40
7.3.260.0070.01416.17
7.3.250.0120.00816.24
7.3.240.0150.00616.20
7.3.230.0090.00916.39
7.3.210.0100.00616.21
7.3.200.0080.00819.39
7.3.190.0060.00916.33
7.3.180.0040.01216.45
7.3.170.0030.01316.27
7.3.160.0090.00616.41
7.2.330.0060.01116.59
7.2.320.0100.01016.55
7.2.310.0070.01016.43
7.2.300.0130.01016.51
7.2.290.0130.00316.25
5.4.340.0060.04412.01
5.4.320.0100.04212.45
5.4.310.0120.04512.45
5.4.300.0050.04512.45
5.4.290.0050.05012.45
5.4.280.0090.04712.34
5.4.270.0140.04612.34
5.4.260.0120.04612.34
5.4.250.0110.04812.35
5.4.240.0070.05212.34
5.4.230.0100.04212.34
5.4.220.0060.05512.34
5.4.210.0070.05012.34
5.4.200.0090.04112.34
5.4.190.0130.04012.33
5.4.180.0050.05112.34
5.4.170.0130.04612.34
5.4.160.0120.04212.34
5.4.150.0060.05112.34
5.4.140.0100.04912.02
5.4.130.0100.04412.01
5.4.120.0060.04711.97
5.4.110.0070.04511.96
5.4.100.0090.04711.96
5.4.90.0070.04311.96
5.4.80.0080.04511.96
5.4.70.0090.04811.96
5.4.60.0030.04711.96
5.4.50.0060.04411.96
5.4.40.0080.03711.95
5.4.30.0050.04211.95
5.4.20.0130.04311.95
5.4.10.0110.04511.95
5.4.00.0180.08111.44
5.3.290.0090.05312.80
5.3.280.0190.04212.71
5.3.270.0150.04712.72
5.3.260.0140.04812.72
5.3.250.0170.04212.72
5.3.240.0130.04712.72
5.3.230.0070.05112.71
5.3.220.0080.04512.68
5.3.210.0070.04212.68
5.3.200.0070.04112.68
5.3.190.0080.03612.68
5.3.180.0060.03912.67
5.3.170.0060.04212.67
5.3.160.0150.03712.68
5.3.150.0070.04312.67
5.3.140.0080.04112.66
5.3.130.0100.04512.66
5.3.120.0120.03912.66
5.3.110.0070.04612.66
5.3.100.0100.05312.12
5.3.90.0110.05112.09
5.3.80.0080.05012.08
5.3.70.0120.03912.07
5.3.60.0040.04112.06
5.3.50.0060.04112.00
5.3.40.0060.04412.00
5.3.30.0060.03511.96
5.3.20.0050.03811.72
5.3.10.0100.03311.69
5.3.00.0040.04011.67
5.2.170.0090.0329.18
5.2.160.0100.0379.17
5.2.150.0050.0439.18
5.2.140.0040.0359.18
5.2.130.0070.0319.14
5.2.120.0030.0329.13
5.2.110.0070.0399.14
5.2.100.0100.0349.14
5.2.90.0080.0289.14
5.2.80.0080.0389.13
5.2.70.0070.0359.13
5.2.60.0060.0339.09
5.2.50.0030.0319.06
5.2.40.0100.0319.03
5.2.30.0070.0299.00
5.2.20.0070.0289.00
5.2.10.0030.0308.92
5.2.00.0030.0328.78
5.1.60.0060.0318.06
5.1.50.0080.0318.06
5.1.40.0070.0278.04
5.1.30.0070.0278.39
5.1.20.0060.0368.41
5.1.10.0030.0378.14
5.1.00.0050.0348.13
5.0.50.0050.0276.62
5.0.40.0050.0206.48
5.0.30.0080.0326.29
5.0.20.0040.0276.25
5.0.10.0070.0246.23
5.0.00.0080.0346.23
4.4.90.0050.0204.78
4.4.80.0050.0164.75
4.4.70.0030.0214.76
4.4.60.0030.0174.76
4.4.50.0030.0164.77
4.4.40.0020.0274.71
4.4.30.0040.0144.76
4.4.20.0020.0204.84
4.4.10.0040.0174.85
4.4.00.0060.0294.76
4.3.110.0060.0134.67
4.3.100.0040.0164.66
4.3.90.0020.0164.64
4.3.80.0020.0254.58
4.3.70.0030.0174.63
4.3.60.0040.0184.63
4.3.50.0010.0174.63
4.3.40.0040.0254.54
4.3.30.0010.0183.28
4.3.20.0030.0163.26
4.3.10.0040.0153.21
4.3.00.0000.0276.82

preferences:
34.48 ms | 401 KiB | 5 Q