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.0170.00318.30
8.3.50.0130.01021.92
8.3.40.0140.00718.89
8.3.30.0100.00719.07
8.3.20.0130.00720.14
8.3.10.0090.00623.53
8.3.00.0060.01219.13
8.2.180.0090.00918.17
8.2.170.0070.00722.96
8.2.160.0160.00320.35
8.2.150.0060.00924.18
8.2.140.0040.00424.66
8.2.130.0120.00826.16
8.2.120.0060.00320.55
8.2.110.0000.00822.31
8.2.100.0060.00617.50
8.2.90.0000.00819.22
8.2.80.0030.00517.97
8.2.70.0030.00517.48
8.2.60.0060.00617.80
8.2.50.0030.00618.07
8.2.40.0000.00819.82
8.2.30.0070.00018.00
8.2.20.0040.00417.61
8.2.10.0050.00318.07
8.2.00.0030.00617.56
8.1.280.0130.00725.92
8.1.270.0080.00823.80
8.1.260.0050.00226.35
8.1.250.0050.00328.09
8.1.240.0060.00320.91
8.1.230.0090.00319.14
8.1.220.0030.00517.75
8.1.210.0040.00418.77
8.1.200.0000.00917.21
8.1.190.0050.00317.10
8.1.180.0000.00818.10
8.1.170.0040.00420.25
8.1.160.0040.00421.89
8.1.150.0030.00318.88
8.1.140.0030.00517.45
8.1.130.0000.00717.77
8.1.120.0040.00417.45
8.1.110.0070.00017.39
8.1.100.0070.00017.47
8.1.90.0040.00317.41
8.1.80.0070.00017.38
8.1.70.0000.00717.34
8.1.60.0030.00517.43
8.1.50.0040.00417.42
8.1.40.0040.00417.46
8.1.30.0050.00317.55
8.1.20.0060.00317.55
8.1.10.0040.00417.45
8.1.00.0000.00817.43
8.0.300.0080.00018.77
8.0.290.0000.00716.63
8.0.280.0030.00318.38
8.0.270.0000.00717.16
8.0.260.0000.00617.16
8.0.250.0030.00316.96
8.0.240.0000.00616.86
8.0.230.0030.00316.92
8.0.220.0030.00316.71
8.0.210.0000.00816.80
8.0.200.0060.00016.95
8.0.190.0000.00716.79
8.0.180.0050.00316.74
8.0.170.0070.00016.75
8.0.160.0070.00016.76
8.0.150.0030.00616.76
8.0.140.0000.00716.74
8.0.130.0030.00313.38
8.0.120.0040.00416.75
8.0.110.0070.00016.75
8.0.100.0040.00416.87
8.0.90.0070.00016.61
8.0.80.0030.01316.89
8.0.70.0050.00216.82
8.0.60.0040.00416.84
8.0.50.0040.00416.72
8.0.30.0130.00717.19
8.0.20.0110.01117.40
8.0.10.0040.00416.75
8.0.00.0100.00816.94
7.4.330.0040.00415.02
7.4.320.0030.00616.47
7.4.300.0060.00016.45
7.4.290.0030.00316.46
7.4.280.0000.00716.44
7.4.270.0030.00316.51
7.4.260.0030.00316.47
7.4.250.0040.00416.26
7.4.240.0030.00416.45
7.4.230.0030.00316.62
7.4.220.0130.01316.51
7.4.210.0060.00916.56
7.4.200.0000.00716.43
7.4.160.0120.00516.38
7.4.150.0050.01417.40
7.4.140.0110.00617.86
7.4.130.0090.01116.49
7.4.120.0100.00716.51
7.4.110.0120.00616.25
7.4.100.0060.01516.48
7.4.90.0140.00316.42
7.4.80.0000.02319.39
7.4.70.0120.00916.27
7.4.60.0120.00916.32
7.4.50.0030.00616.61
7.4.40.0080.01116.46
7.4.30.0130.01016.39
7.3.330.0030.00313.11
7.3.320.0020.00212.98
7.3.310.0000.00716.14
7.3.300.0070.00016.23
7.3.290.0050.00816.23
7.3.280.0070.00916.20
7.3.270.0110.00717.40
7.3.260.0100.00716.30
7.3.250.0140.00316.30
7.3.240.0190.00016.20
7.3.230.0090.01216.39
7.3.210.0090.00916.49
7.3.200.0090.00919.39
7.3.190.0070.01116.40
7.3.180.0070.00816.28
7.3.170.0100.00716.31
7.3.160.0090.00615.97
7.2.330.0140.00316.69
7.2.320.0070.01016.33
7.2.310.0130.00416.69
7.2.300.0000.01716.61
7.2.290.0030.01516.55
5.4.340.0040.03612.01
5.4.320.0040.03812.45
5.4.310.0080.04012.45
5.4.300.0090.03312.45
5.4.290.0070.03812.45
5.4.280.0040.03812.34
5.4.270.0090.03412.34
5.4.260.0050.03912.35
5.4.250.0070.04512.34
5.4.240.0030.04212.34
5.4.230.0060.04712.34
5.4.220.0060.05312.34
5.4.210.0090.04712.34
5.4.200.0070.04812.34
5.4.190.0050.05212.33
5.4.180.0110.04912.34
5.4.170.0060.05612.34
5.4.160.0080.04412.34
5.4.150.0080.03612.34
5.4.140.0100.03712.02
5.4.130.0040.04812.01
5.4.120.0070.03711.97
5.4.110.0060.03611.96
5.4.100.0070.03511.96
5.4.90.0050.03811.96
5.4.80.0080.03511.96
5.4.70.0050.03511.96
5.4.60.0060.03411.96
5.4.50.0060.03411.96
5.4.40.0070.03611.95
5.4.30.0080.04711.95
5.4.20.0090.03411.95
5.4.10.0070.03711.95
5.4.00.0080.03511.43
5.3.290.0110.03912.80
5.3.280.0070.04112.71
5.3.270.0050.04212.72
5.3.260.0040.04412.72
5.3.250.0100.03612.72
5.3.240.0100.03712.72
5.3.230.0100.04712.71
5.3.220.0060.03612.68
5.3.210.0040.05012.68
5.3.200.0060.03912.68
5.3.190.0060.04112.68
5.3.180.0050.03612.67
5.3.170.0060.03612.67
5.3.160.0060.03612.68
5.3.150.0120.03112.68
5.3.140.0040.03812.66
5.3.130.0070.03712.66
5.3.120.0100.03512.66
5.3.110.0040.04112.66
5.3.100.0040.03912.12
5.3.90.0060.03512.09
5.3.80.0090.03912.08
5.3.70.0110.05312.08
5.3.60.0110.05012.06
5.3.50.0080.04012.00
5.3.40.0090.03812.00
5.3.30.0130.02811.94
5.3.20.0050.03711.73
5.3.10.0060.03411.69
5.3.00.0050.03811.68
5.2.170.0040.0329.17
5.2.160.0030.0329.18
5.2.150.0040.0319.18
5.2.140.0080.0279.17
5.2.130.0050.0299.14
5.2.120.0040.0299.13
5.2.110.0030.0309.14
5.2.100.0070.0289.14
5.2.90.0050.0349.14
5.2.80.0060.0399.13
5.2.70.0060.0339.13
5.2.60.0070.0289.09
5.2.50.0040.0309.06
5.2.40.0070.0279.03
5.2.30.0100.0299.00
5.2.20.0080.0439.00
5.2.10.0070.0408.91
5.2.00.0090.0258.78
5.1.60.0060.0238.06
5.1.50.0070.0228.06
5.1.40.0070.0228.04
5.1.30.0080.0358.39
5.1.20.0070.0368.41
5.1.10.0080.0328.14
5.1.00.0040.0378.13
5.0.50.0060.0306.61
5.0.40.0070.0196.47
5.0.30.0060.0396.29
5.0.20.0060.0346.26
5.0.10.0070.0306.23
5.0.00.0060.0426.23
4.4.90.0070.0284.78
4.4.80.0070.0254.75
4.4.70.0020.0194.76
4.4.60.0040.0164.76
4.4.50.0040.0164.77
4.4.40.0040.0324.71
4.4.30.0020.0234.75
4.4.20.0060.0204.85
4.4.10.0030.0164.85
4.4.00.0060.0224.76
4.3.110.0020.0164.67
4.3.100.0010.0164.66
4.3.90.0020.0164.63
4.3.80.0050.0224.58
4.3.70.0030.0144.63
4.3.60.0030.0144.63
4.3.50.0030.0154.63
4.3.40.0050.0214.54
4.3.30.0050.0153.28
4.3.20.0010.0183.25
4.3.10.0030.0153.22
4.3.00.0170.0206.82

preferences:
60.39 ms | 401 KiB | 5 Q