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.0100.01018.18
8.3.50.0120.01022.11
8.3.40.0130.00618.86
8.3.30.0070.01019.22
8.3.20.0150.00020.13
8.3.10.0000.01523.70
8.3.00.0130.00719.25
8.2.180.0100.00716.49
8.2.170.0150.00322.96
8.2.160.0110.00420.32
8.2.150.0150.00024.18
8.2.140.0000.00724.66
8.2.130.0070.00726.16
8.2.120.0030.00720.32
8.2.110.0090.00020.58
8.2.100.0040.00817.91
8.2.90.0030.00618.22
8.2.80.0090.00017.97
8.2.70.0040.00417.50
8.2.60.0080.00418.04
8.2.50.0000.00818.07
8.2.40.0000.00920.07
8.2.30.0000.00818.00
8.2.20.0000.00717.75
8.2.10.0070.00018.06
8.2.00.0040.00417.74
8.1.280.0060.01025.92
8.1.270.0060.00923.97
8.1.260.0040.00826.35
8.1.250.0070.00028.09
8.1.240.0040.00422.05
8.1.230.0070.00420.79
8.1.220.0000.00717.77
8.1.210.0000.00818.82
8.1.200.0040.00417.35
8.1.190.0050.00317.25
8.1.180.0040.00418.10
8.1.170.0080.00020.48
8.1.160.0070.00022.03
8.1.150.0000.00718.87
8.1.140.0070.00017.35
8.1.130.0000.00717.82
8.1.120.0000.00717.40
8.1.110.0030.00317.22
8.1.100.0050.00217.33
8.1.90.0040.00417.30
8.1.80.0000.00717.44
8.1.70.0000.00717.41
8.1.60.0060.00317.43
8.1.50.0040.00417.36
8.1.40.0000.00817.45
8.1.30.0000.00817.47
8.1.20.0030.00517.45
8.1.10.0000.00717.54
8.1.00.0000.00717.31
8.0.300.0050.00320.07
8.0.290.0070.00016.58
8.0.280.0070.00018.39
8.0.270.0080.00017.23
8.0.260.0030.00317.24
8.0.250.0000.00616.91
8.0.240.0030.00316.93
8.0.230.0030.00316.82
8.0.220.0030.00516.83
8.0.210.0000.00716.85
8.0.200.0000.00616.91
8.0.190.0050.00316.87
8.0.180.0000.00716.87
8.0.170.0020.00516.84
8.0.160.0000.00716.81
8.0.150.0000.00716.84
8.0.140.0000.00716.81
8.0.130.0000.00613.42
8.0.120.0080.00016.85
8.0.110.0030.00316.68
8.0.100.0000.00716.64
8.0.90.0070.00016.95
8.0.80.0090.01316.86
8.0.70.0020.00516.70
8.0.60.0050.00316.85
8.0.50.0000.00816.64
8.0.30.0110.00817.06
8.0.20.0050.01517.40
8.0.10.0030.00516.83
8.0.00.0110.00616.79
7.4.330.0060.00015.02
7.4.320.0000.00916.39
7.4.300.0060.00016.49
7.4.290.0080.00016.48
7.4.280.0030.00316.53
7.4.270.0030.00316.44
7.4.260.0040.00416.57
7.4.250.0000.00716.40
7.4.240.0000.00716.56
7.4.230.0040.00416.55
7.4.220.0070.02016.62
7.4.210.0060.01116.48
7.4.200.0000.00716.33
7.4.160.0090.00616.33
7.4.150.0140.00317.40
7.4.140.0130.00717.86
7.4.130.0090.00916.43
7.4.120.0060.01016.52
7.4.110.0100.00716.34
7.4.100.0130.00316.49
7.4.90.0040.01316.57
7.4.80.0020.02119.39
7.4.70.0160.00616.40
7.4.60.0160.00016.49
7.4.50.0000.00816.24
7.4.40.0030.01516.13
7.4.30.0110.01116.46
7.3.330.0000.00613.18
7.3.320.0060.00013.28
7.3.310.0040.00416.20
7.3.300.0000.00716.16
7.3.290.0080.00616.24
7.3.280.0090.01016.18
7.3.270.0120.00617.40
7.3.260.0100.00716.28
7.3.250.0090.00916.43
7.3.240.0190.00316.25
7.3.230.0100.00716.39
7.3.210.0070.00916.50
7.3.200.0060.00919.39
7.3.190.0030.01316.41
7.3.180.0030.01316.17
7.3.170.0090.00616.48
7.3.160.0070.01016.22
7.2.330.0060.01216.65
7.2.320.0090.00916.32
7.2.310.0100.00716.29
7.2.300.0090.01316.48
7.2.290.0170.00316.54
5.4.340.0080.03412.00
5.4.320.0120.04312.45
5.4.310.0070.04012.45
5.4.300.0080.03812.45
5.4.290.0020.04412.45
5.4.280.0080.03412.34
5.4.270.0040.04612.34
5.4.260.0090.04512.35
5.4.250.0070.04612.34
5.4.240.0070.03712.35
5.4.230.0130.03312.34
5.4.220.0080.04812.34
5.4.210.0070.03712.34
5.4.200.0100.03712.34
5.4.190.0060.04212.34
5.4.180.0070.03712.34
5.4.170.0120.03412.34
5.4.160.0060.03712.34
5.4.150.0090.03312.34
5.4.140.0060.03812.02
5.4.130.0070.04812.01
5.4.120.0100.04911.96
5.4.110.0040.05011.96
5.4.100.0070.04211.96
5.4.90.0040.04611.96
5.4.80.0040.04611.96
5.4.70.0110.03811.96
5.4.60.0080.04311.96
5.4.50.0130.04411.96
5.4.40.0110.03511.95
5.4.30.0100.04811.95
5.4.20.0090.04811.95
5.4.10.0090.03711.95
5.4.00.0050.04411.43
5.3.290.0090.04212.80
5.3.280.0090.03612.71
5.3.270.0050.04912.72
5.3.260.0100.03612.72
5.3.250.0060.04412.72
5.3.240.0090.03812.72
5.3.230.0060.04512.71
5.3.220.0060.04412.68
5.3.210.0050.04412.68
5.3.200.0090.04812.68
5.3.190.0070.04812.68
5.3.180.0030.04012.68
5.3.170.0070.03712.67
5.3.160.0040.04112.67
5.3.150.0080.04012.67
5.3.140.0080.03512.66
5.3.130.0080.03812.66
5.3.120.0050.04012.66
5.3.110.0090.03712.65
5.3.100.0050.03912.12
5.3.90.0070.03612.08
5.3.80.0070.03612.07
5.3.70.0040.03912.07
5.3.60.0060.03712.07
5.3.50.0050.03812.00
5.3.40.0130.03012.00
5.3.30.0060.03711.94
5.3.20.0090.03511.72
5.3.10.0090.03211.69
5.3.00.0100.03311.68
5.2.170.0060.0309.18
5.2.160.0050.0329.18
5.2.150.0090.0329.18
5.2.140.0080.0329.17
5.2.130.0050.0399.14
5.2.120.0050.0429.14
5.2.110.0050.0399.14
5.2.100.0040.0439.14
5.2.90.0030.0389.14
5.2.80.0090.0319.13
5.2.70.0060.0359.13
5.2.60.0080.0369.08
5.2.50.0080.0819.06
5.2.40.0080.0399.03
5.2.30.0090.0389.00
5.2.20.0070.0319.00
5.2.10.0070.0388.91
5.2.00.0050.0358.78
5.1.60.0040.0288.06
5.1.50.0060.0238.05
5.1.40.0050.0248.04
5.1.30.0070.0258.39
5.1.20.0050.0278.41
5.1.10.0050.0268.14
5.1.00.0050.0258.14
5.0.50.0090.0216.61
5.0.40.0050.0186.47
5.0.30.0030.0326.29
5.0.20.0050.0196.25
5.0.10.0040.0206.24
5.0.00.0030.0326.23
4.4.90.0020.0164.78
4.4.80.0030.0154.75
4.4.70.0050.0144.75
4.4.60.0040.0154.76
4.4.50.0040.0144.77
4.4.40.0030.0344.71
4.4.30.0030.0174.75
4.4.20.0030.0164.84
4.4.10.0020.0174.85
4.4.00.0020.0254.76
4.3.110.0010.0184.67
4.3.100.0010.0174.67
4.3.90.0020.0174.63
4.3.80.0040.0254.59
4.3.70.0010.0164.63
4.3.60.0020.0154.63
4.3.50.0040.0144.63
4.3.40.0030.0254.54
4.3.30.0020.0213.29
4.3.20.0030.0193.26
4.3.10.0040.0183.22
4.3.00.0100.0206.82

preferences:
55.34 ms | 401 KiB | 5 Q