3v4l.org

run code in 300+ PHP versions simultaneously
<?php $words = array('banana', 'apple', 'orange'); $arr = array(); foreach($words as $keyword) { $link = "http://localhost/site".'/?s='.$keyword; $arr[] = '<a href="'.$link.'" title="'.$keyword.'">'.$keyword.'</a>'; } echo implode(' | ', $arr);

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.70.0090.00618.56
8.3.60.0140.00716.61
8.3.50.0130.00721.16
8.3.40.0180.00018.84
8.3.30.0140.00018.50
8.3.20.0040.00420.16
8.3.10.0070.00023.78
8.3.00.0040.00423.48
8.2.190.0040.01116.58
8.2.180.0110.00718.29
8.2.170.0140.00722.96
8.2.160.0080.00522.15
8.2.150.0030.00624.18
8.2.140.0040.00424.66
8.2.130.0040.00421.04
8.2.120.0080.00026.35
8.2.110.0030.00622.07
8.2.100.0110.00018.03
8.2.90.0040.00419.21
8.2.80.0040.00417.97
8.2.70.0030.00617.63
8.2.60.0040.00417.89
8.2.50.0050.00318.07
8.2.40.0070.00020.43
8.2.30.0000.00720.50
8.2.20.0040.00417.75
8.2.10.0070.00318.22
8.2.00.0000.00718.20
8.1.280.0100.01025.92
8.1.270.0060.00323.82
8.1.260.0040.00428.09
8.1.250.0080.00028.09
8.1.240.0060.00322.48
8.1.230.0070.00419.03
8.1.220.0000.00817.79
8.1.210.0090.00018.77
8.1.200.0000.01217.35
8.1.190.0030.00617.23
8.1.180.0040.00418.10
8.1.170.0040.00418.54
8.1.160.0040.00420.77
8.1.150.0040.00418.95
8.1.140.0050.00319.69
8.1.130.0030.00617.43
8.1.120.0000.00817.49
8.1.110.0040.00417.46
8.1.100.0000.00817.49
8.1.90.0000.00717.45
8.1.80.0040.00417.49
8.1.70.0080.00017.35
8.1.60.0080.00317.58
8.1.50.0040.00417.59
8.1.40.0000.00817.37
8.1.30.0050.00317.61
8.1.20.0030.00517.61
8.1.10.0040.00417.52
8.1.00.0000.00817.36
8.0.300.0020.00518.77
8.0.290.0030.00616.75
8.0.280.0000.00718.36
8.0.270.0000.00717.24
8.0.260.0060.00016.80
8.0.250.0070.00016.91
8.0.240.0030.00316.88
8.0.230.0040.00416.96
8.0.220.0000.00716.88
8.0.210.0030.00516.96
8.0.200.0050.00216.97
8.0.190.0100.00016.95
8.0.180.0050.00216.90
8.0.170.0040.00416.87
8.0.160.0030.00316.84
8.0.150.0040.00416.74
8.0.140.0030.00316.85
8.0.130.0050.00313.36
8.0.120.0000.00716.75
8.0.110.0040.00416.73
8.0.100.0000.00716.84
8.0.90.0070.00016.96
8.0.80.0130.00316.81
8.0.70.0000.00716.76
8.0.60.0000.00716.81
8.0.50.0030.00616.87
8.0.30.0080.01117.28
8.0.20.0090.01217.40
8.0.10.0070.00017.05
8.0.00.0130.00716.68
7.4.330.0020.00216.84
7.4.320.0000.00616.50
7.4.300.0030.00316.63
7.4.290.0050.00216.49
7.4.280.0090.00016.41
7.4.270.0040.00416.50
7.4.260.0030.00616.65
7.4.250.0000.00716.51
7.4.240.0020.00516.48
7.4.230.0070.00016.68
7.4.220.0100.01616.63
7.4.210.0030.01016.70
7.4.200.0030.00316.34
7.4.160.0150.00916.81
7.4.150.0060.01117.40
7.4.140.0110.01117.86
7.4.130.0050.01316.49
7.4.120.0100.00716.48
7.4.110.0070.01616.64
7.4.100.0100.00616.36
7.4.90.0100.00716.62
7.4.80.0070.01019.39
7.4.70.0130.01016.59
7.4.60.0100.00616.34
7.4.50.0120.00316.61
7.4.40.0040.01416.41
7.4.30.0110.00616.36
7.4.00.0060.01014.86
7.3.330.0030.00313.08
7.3.320.0000.00513.11
7.3.310.0030.00616.16
7.3.300.0000.00716.14
7.3.290.0070.00816.26
7.3.280.0090.00716.25
7.3.270.0070.01017.40
7.3.260.0100.00716.30
7.3.250.0110.00616.40
7.3.240.0050.01316.24
7.3.230.0030.01516.63
7.3.210.0090.01516.32
7.3.200.0060.01516.56
7.3.190.0100.00616.44
7.3.180.0120.00616.33
7.3.170.0040.01216.27
7.3.160.0040.01216.62
7.2.330.0030.01416.59
7.2.320.0080.00816.76
7.2.310.0030.01916.63
7.2.300.0090.01516.71
7.2.290.0000.02016.37
7.2.60.0060.00916.86
7.2.00.0090.00619.15
7.1.200.0090.00415.82
7.1.100.0070.00718.01
7.1.70.0040.00417.17
7.1.60.0100.01019.05
7.1.50.0070.01816.66
7.1.00.0070.07322.51
7.0.200.0240.00714.89
7.0.60.0030.04019.90
7.0.50.0000.04717.81
7.0.40.0070.08720.24
7.0.30.0230.04020.12
7.0.20.0200.05020.30
7.0.10.0070.08020.29
7.0.00.0130.07720.17
5.6.280.0000.03321.11
5.6.210.0030.05720.69
5.6.200.0100.07718.15
5.6.190.0100.08320.43
5.6.180.0200.04720.35
5.6.170.0200.04320.51
5.6.160.0100.06720.37
5.6.150.0200.05718.22
5.6.140.0000.05718.11
5.6.130.0030.08318.09
5.6.120.0070.06720.98
5.6.110.0100.07720.99
5.6.100.0030.04020.99
5.6.90.0100.07721.07
5.6.80.0170.06020.36
5.5.350.3970.03720.41
5.5.340.0170.06718.02
5.5.330.0100.08720.47
5.5.320.0400.07020.20
5.5.310.0300.06720.20
5.5.300.0030.04018.02
5.5.290.0130.07317.96
5.5.280.0000.07720.78
5.5.270.0000.05320.72
5.5.260.0130.07720.89
5.5.250.0100.05020.68
5.5.240.0030.03020.26

preferences:
36.52 ms | 401 KiB | 5 Q