3v4l.org

run code in 300+ PHP versions simultaneously
<?php $agent = 'Dotbot'; if ($agent=='' || preg_match('#(megaupload|feedfetcher|yisouspider|httrack|httpclient|surveybot|anonymous|similarpages|webcollage|mj12bot|webcopier|teleport|ispider|wget|offline|websnake|download|ezooms|exabot|gigabot|dotbot|psbot)#i',$agent)) echo 1; else echo 0;

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.0040.01118.55
8.3.50.0110.00521.19
8.3.40.0000.01518.67
8.3.30.0100.00718.92
8.3.20.0080.00020.33
8.3.10.0070.00721.91
8.3.00.0000.00819.50
8.2.180.0070.01416.88
8.2.170.0150.00322.96
8.2.160.0110.00420.44
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0000.00822.18
8.2.110.0080.00020.29
8.2.100.0090.00317.73
8.2.90.0030.00619.22
8.2.80.0100.00017.97
8.2.70.0000.00817.75
8.2.60.0110.00017.93
8.2.50.0000.00918.07
8.2.40.0040.00420.07
8.2.30.0070.00018.09
8.2.20.0000.00717.72
8.2.10.0000.00817.97
8.2.00.0000.00717.82
8.1.280.0070.00725.92
8.1.270.0000.00823.96
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0070.01022.00
8.1.230.0050.00522.15
8.1.220.0090.00017.74
8.1.210.0090.00018.77
8.1.200.0060.00317.23
8.1.190.0000.00817.34
8.1.180.0000.00918.10
8.1.170.0050.00318.71
8.1.160.0000.00722.06
8.1.150.0040.00418.82
8.1.140.0030.00617.51
8.1.130.0000.00817.77
8.1.120.0050.00317.67
8.1.110.0040.00417.52
8.1.100.0000.00717.57
8.1.90.0000.00717.67
8.1.80.0070.00017.60
8.1.70.0050.00217.58
8.1.60.0040.00417.74
8.1.50.0080.00017.67
8.1.40.0020.00517.70
8.1.30.0030.00617.84
8.1.20.0090.00017.83
8.1.10.0000.00817.67
8.1.00.0020.00517.68
8.0.300.0040.00418.77
8.0.290.0000.00716.63
8.0.280.0030.00518.49
8.0.270.0070.00017.27
8.0.260.0030.00317.34
8.0.250.0030.00317.16
8.0.240.0000.00717.13
8.0.230.0000.00717.11
8.0.220.0080.00016.98
8.0.210.0000.00717.05
8.0.200.0000.00817.09
8.0.190.0070.00017.13
8.0.180.0040.00417.08
8.0.170.0040.00416.98
8.0.160.0000.00717.08
8.0.150.0030.00617.06
8.0.140.0000.00716.98
8.0.130.0050.00013.48
8.0.120.0040.00417.07
8.0.110.0070.00016.98
8.0.100.0030.00616.93
8.0.90.0040.00417.04
8.0.80.0190.00316.97
8.0.70.0040.00416.91
8.0.60.0070.00017.07
8.0.50.0040.00417.07
8.0.30.0160.00817.42
8.0.20.0120.01017.47
8.0.10.0040.00417.04
8.0.00.0070.01017.01
7.4.330.0030.00315.14
7.4.320.0000.00616.65
7.4.300.0060.00016.76
7.4.290.0040.00416.82
7.4.280.0030.00516.66
7.4.270.0030.00316.69
7.4.260.0050.00216.85
7.4.250.0040.00416.74
7.4.240.0030.00316.72
7.4.230.0030.00316.48
7.4.220.0070.01016.76
7.4.210.0070.00716.84
7.4.200.0040.00416.56
7.4.160.0100.01016.75
7.4.150.0030.01517.40
7.4.140.0090.00917.86
7.4.130.0120.00516.71
7.4.120.0100.01116.69
7.4.110.0100.01316.54
7.4.100.0090.00916.66
7.4.90.0120.00616.68
7.4.80.0070.01019.39
7.4.70.0080.00816.56
7.4.60.0090.00616.77
7.4.50.0040.00416.76
7.4.40.0120.00616.71
7.4.30.0110.01116.85
7.4.00.0000.01215.33
7.3.330.0060.00013.25
7.3.320.0050.00013.20
7.3.310.0000.00716.22
7.3.300.0000.00616.25
7.3.290.0050.00916.34
7.3.280.0090.00516.34
7.3.270.0120.00417.40
7.3.260.0090.00616.63
7.3.250.0070.00916.37
7.3.240.0120.00616.50
7.3.230.0130.00516.47
7.3.210.0100.00716.54
7.3.200.0060.01619.39
7.3.190.0070.01416.57
7.3.180.0090.00916.38
7.3.170.0060.01216.66
7.3.160.0090.00616.21
7.3.10.0060.00616.89
7.3.00.0070.00716.79
7.2.330.0070.01316.89
7.2.320.0140.00316.64
7.2.310.0100.00716.65
7.2.300.0080.01216.77
7.2.290.0030.01316.82
7.2.130.0040.01117.18
7.2.120.0030.01117.07
7.2.110.0080.00417.12
7.2.100.0080.00417.00
7.2.90.0030.00617.02
7.2.80.0110.00416.96
7.2.70.0100.00316.71
7.2.60.0050.00817.16
7.2.50.0060.01017.13
7.2.40.0040.01117.13
7.2.30.0080.00417.10
7.2.20.0050.00517.07
7.2.10.0110.00317.04
7.2.00.0070.00416.86
7.1.250.0060.00315.95
7.1.200.0070.00715.95
7.1.100.0030.01017.78
7.1.70.0040.00417.19
7.1.60.0110.01119.11
7.1.50.0090.01217.25
7.1.00.0000.08022.59
7.0.200.0030.00616.95
7.0.140.0000.07722.12
7.0.60.0070.07719.86
7.0.50.0070.08017.84
7.0.40.0030.05320.33
7.0.30.0230.04320.19
7.0.20.0330.05020.20
7.0.10.0100.07020.06
7.0.00.0130.08320.04
5.6.280.0100.06320.86
5.6.210.0130.09320.52
5.6.200.0100.08018.21
5.6.190.0070.05020.39
5.6.180.0170.03720.41
5.6.170.0300.04720.63
5.6.160.0070.06320.40
5.6.150.0030.08318.18
5.6.140.0030.08318.15
5.6.130.0100.06318.16
5.6.120.0070.05321.09
5.6.110.0130.06321.13
5.6.100.0130.08020.97
5.6.90.0100.05020.97
5.6.80.0200.07020.28
5.6.70.4100.03720.42
5.5.350.0130.08020.38
5.5.340.0130.07717.89
5.5.330.0070.06020.25
5.5.320.0370.07720.24
5.5.310.0200.08320.30
5.5.300.0100.06017.92
5.5.290.0030.06317.89
5.5.280.0030.04720.79
5.5.270.0070.03720.88
5.5.260.0070.06020.79
5.5.250.0070.08020.77
5.5.240.0270.06020.00
5.4.450.0400.07319.63
5.4.440.0630.06319.55
5.4.430.0830.04319.23
5.4.420.0400.05719.54
5.4.410.0770.07019.39
5.4.400.0400.05318.92
5.4.390.0900.06718.96
5.4.380.0870.05319.22
5.4.370.0870.06319.14
5.4.360.0970.05318.95
5.4.350.0270.06719.10
5.4.340.0070.03611.96
5.4.320.0030.04312.45
5.4.310.0060.03912.45
5.4.300.0070.03512.45
5.4.290.0090.04812.45
5.4.280.0120.03612.35
5.4.270.0050.03912.34
5.4.260.0040.03912.35
5.4.250.0080.03912.34
5.4.240.0080.03312.35
5.4.230.0100.03712.34
5.4.220.0060.03912.34
5.4.210.0090.03412.34
5.4.200.0040.03812.34
5.4.190.0070.03412.33
5.4.180.0100.03812.33
5.4.170.0070.03912.35
5.4.160.0080.03512.34
5.4.150.0050.03812.34
5.4.140.0070.03512.02
5.4.130.0080.03212.01
5.4.120.0050.03611.97
5.4.110.0070.03411.96
5.4.100.0040.03711.96
5.4.90.0040.03911.96
5.4.80.0030.04011.96
5.4.70.0060.03311.96
5.4.60.0040.04111.96
5.4.50.0060.04011.96
5.4.40.0040.03611.95
5.4.30.0060.03611.95
5.4.20.0060.03411.95
5.4.10.0060.03311.95
5.4.00.0080.03311.43
5.3.290.0060.05312.80
5.3.280.0080.03512.71
5.3.270.0080.03712.72
5.3.260.0060.03912.71
5.3.250.0020.04212.71
5.3.240.0030.04012.72
5.3.230.0070.03512.71
5.3.220.0040.03812.68
5.3.210.0050.03912.68
5.3.200.0050.03712.68
5.3.190.0070.03612.68
5.3.180.0040.03812.67
5.3.170.0040.03912.67
5.3.160.0050.03812.67
5.3.150.0050.03812.67
5.3.140.0100.03112.66
5.3.130.0040.04012.66
5.3.120.0040.04612.66
5.3.110.0110.03712.66
5.3.100.0060.03612.11
5.3.90.0070.03412.09
5.3.80.0060.03512.07
5.3.70.0040.03812.07
5.3.60.0040.04312.06
5.3.50.0100.03812.00
5.3.40.0080.03612.00
5.3.30.0070.03511.95
5.3.20.0040.03711.73
5.3.10.0130.03311.70
5.3.00.0060.03511.68
5.2.170.0030.0319.19
5.2.160.0060.0279.19
5.2.150.0020.0339.19
5.2.140.0080.0329.18
5.2.130.0030.0309.14
5.2.120.0010.0329.14
5.2.110.0080.0309.15
5.2.100.0060.0309.15
5.2.90.0060.0359.15
5.2.80.0030.0359.14
5.2.70.0040.0309.14
5.2.60.0030.0319.10
5.2.50.0060.0289.07
5.2.40.0040.0299.05
5.2.30.0050.0299.02
5.2.20.0020.0319.01
5.2.10.0050.0268.93
5.2.00.0060.0278.79
5.1.60.0050.0238.08
5.1.50.0050.0238.07
5.1.40.0030.0258.05
5.1.30.0030.0268.40
5.1.20.0020.0288.43
5.1.10.0040.0258.15
5.1.00.0040.0258.15
5.0.50.0020.0216.63
5.0.40.0020.0206.48
5.0.30.0010.0326.30
5.0.20.0010.0216.27
5.0.10.0010.0236.24
5.0.00.0020.0316.24
4.4.90.0010.0174.78
4.4.80.0020.0154.75
4.4.70.0020.0204.75
4.4.60.0020.0164.75
4.4.50.0040.0164.77
4.4.40.0020.0284.71
4.4.30.0030.0154.76
4.4.20.0040.0144.84
4.4.10.0030.0164.85
4.4.00.0050.0224.76
4.3.110.0030.0154.67
4.3.100.0040.0134.66
4.3.90.0040.0134.63
4.3.80.0020.0254.58
4.3.70.0010.0184.63
4.3.60.0040.0164.63
4.3.50.0020.0164.63
4.3.40.0040.0264.54
4.3.30.0040.0143.30
4.3.20.0000.0173.28
4.3.10.0010.0163.24
4.3.00.0200.0276.68

preferences:
43.81 ms | 401 KiB | 5 Q