3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_content = '<p>As big a threat as ISIS is, the competition that truly defines the Middle East is the one between Saudi Arabia and Iran. Where do we fit in?<br clear="all"></p>'; $_content = trim(preg_replace(array('#<p[^>]*>#i', '#</p>#i', '#<br[^>]*>#i','#</br>#i'), '', $_content)); echo $_content;

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.0110.00416.50
8.3.50.0100.00922.96
8.3.40.0120.00318.96
8.3.30.0070.00718.92
8.3.20.0000.00720.26
8.3.10.0030.00523.50
8.3.00.0090.00019.50
8.2.180.0090.00916.63
8.2.170.0090.00622.96
8.2.160.0070.00720.52
8.2.150.0040.00424.18
8.2.140.0090.00024.66
8.2.130.0000.00726.16
8.2.120.0040.00421.08
8.2.110.0060.00320.47
8.2.100.0040.00818.03
8.2.90.0050.00319.17
8.2.80.0000.00817.97
8.2.70.0030.00917.75
8.2.60.0060.00317.93
8.2.50.0040.00418.07
8.2.40.0070.00018.22
8.2.30.0040.00418.15
8.2.20.0040.00417.84
8.2.10.0040.00418.03
8.2.00.0060.00317.77
8.1.280.0040.01125.92
8.1.270.0040.00423.74
8.1.260.0050.00326.35
8.1.250.0000.00728.09
8.1.240.0050.00523.74
8.1.230.0090.00319.21
8.1.220.0040.00417.79
8.1.210.0000.00818.77
8.1.200.0060.00617.35
8.1.190.0050.00317.35
8.1.180.0040.00418.10
8.1.170.0050.00318.64
8.1.160.0050.00221.97
8.1.150.0040.00418.84
8.1.140.0040.00417.39
8.1.130.0030.00317.77
8.1.120.0000.00817.45
8.1.110.0040.00417.59
8.1.100.0000.00717.55
8.1.90.0040.00417.54
8.1.80.0030.00517.55
8.1.70.0000.00717.44
8.1.60.0060.00317.67
8.1.50.0060.00317.64
8.1.40.0080.00017.57
8.1.30.0000.00917.79
8.1.20.0000.00817.75
8.1.10.0040.00417.70
8.1.00.0040.00417.57
8.0.300.0070.00018.77
8.0.290.0080.00016.88
8.0.280.0000.00718.45
8.0.270.0040.00417.33
8.0.260.0030.00317.28
8.0.250.0030.00317.11
8.0.240.0030.00317.08
8.0.230.0080.00016.95
8.0.220.0000.00716.98
8.0.210.0040.00416.94
8.0.200.0000.00717.03
8.0.190.0030.00617.04
8.0.180.0070.00017.00
8.0.170.0000.00716.99
8.0.160.0040.00416.86
8.0.150.0030.00316.88
8.0.140.0000.00716.96
8.0.130.0060.00013.38
8.0.120.0030.00516.88
8.0.110.0000.00716.87
8.0.100.0000.00716.95
8.0.90.0080.00017.08
8.0.80.0090.00916.94
8.0.70.0080.00017.03
8.0.60.0050.00317.01
8.0.50.0040.00417.08
8.0.30.0110.00917.16
8.0.20.0060.01317.43
8.0.10.0000.00717.13
8.0.00.0080.01216.79
7.4.330.0000.00615.11
7.4.320.0030.00316.67
7.4.300.0030.00316.63
7.4.290.0000.00716.61
7.4.280.0030.00516.60
7.4.270.0000.00716.64
7.4.260.0000.00716.70
7.4.250.0000.00716.67
7.4.240.0020.00516.70
7.4.230.0030.00316.64
7.4.220.0070.01416.66
7.4.210.0060.00916.73
7.4.200.0030.00316.57
7.4.160.0040.01116.81
7.4.150.0140.01317.40
7.4.140.0130.00617.86
7.4.130.0060.01116.61
7.4.120.0100.00716.59
7.4.110.0030.01616.73
7.4.100.0080.01016.72
7.4.90.0130.00316.46
7.4.80.0060.01119.39
7.4.70.0100.01216.59
7.4.60.0080.00916.52
7.4.50.0090.00016.70
7.4.40.0110.01116.48
7.4.30.0060.01016.59
7.4.00.0060.01114.75
7.3.330.0060.00013.10
7.3.320.0000.00513.23
7.3.310.0040.00416.20
7.3.300.0010.00616.34
7.3.290.0030.01116.34
7.3.280.0130.00716.31
7.3.270.0040.01717.40
7.3.260.0060.02216.58
7.3.250.0100.00916.48
7.3.240.0090.00816.51
7.3.230.0080.00816.46
7.3.210.0080.00916.79
7.3.200.0100.01319.39
7.3.190.0120.00616.78
7.3.180.0090.00616.34
7.3.170.0030.01216.38
7.3.160.0080.00816.67
7.2.330.0090.00916.72
7.2.320.0130.01016.63
7.2.310.0140.00316.55
7.2.300.0030.01316.54
7.2.290.0080.01116.64
7.2.00.0060.00619.34
7.1.100.0000.01118.08
7.1.70.0080.00017.46
7.1.60.0070.01819.40
7.1.50.0000.02117.20
7.1.00.0070.06322.33
7.0.200.0000.00716.81
7.0.140.0030.07021.92
7.0.60.0070.08019.86
7.0.50.0130.08017.83
7.0.40.0100.03720.43
7.0.30.0530.06320.04
7.0.20.0230.07020.20
7.0.10.0270.04320.18
7.0.00.0070.05320.05
5.6.280.0070.06720.99
5.6.210.0130.07720.50
5.6.200.0100.08018.11
5.6.190.0100.05320.46
5.6.180.0230.04320.61
5.6.170.0270.04020.48
5.6.160.0000.04320.32
5.6.150.0100.08018.22
5.6.140.0070.07318.12
5.6.130.0070.04318.20
5.6.120.0130.08021.12
5.6.110.0030.04321.11
5.6.100.0000.04720.98
5.6.90.0100.07721.12
5.6.80.0070.08020.50
5.5.350.0130.04320.44
5.5.340.0070.08317.98
5.5.330.0030.06720.16
5.5.320.0400.04020.28
5.5.310.0370.07020.34
5.5.300.0130.04018.01
5.5.290.0070.07317.98
5.5.280.0130.08320.76
5.5.270.0100.06320.71
5.5.260.0000.04320.75
5.5.250.0170.07720.61
5.5.240.3200.03720.03
5.4.450.0200.04719.46
5.4.440.0500.04719.48
5.4.430.0400.04019.25
5.4.420.0200.04019.42
5.4.410.0330.04019.00
5.4.400.0530.03319.07
5.4.390.0430.03718.91
5.4.380.0430.05318.46
5.4.370.0300.05318.74
5.4.360.0300.05318.46
5.4.350.0230.07018.72
5.4.340.0430.07718.74
5.4.320.0070.04212.45
5.4.310.0080.03612.45
5.4.300.0040.04012.45
5.4.290.0040.04012.45
5.4.280.0090.03312.34
5.4.270.0050.04012.35
5.4.260.0040.03912.35
5.4.250.0080.03412.35
5.4.240.0080.03412.35
5.4.230.0090.03612.34
5.4.220.0040.03712.34
5.4.210.0050.03612.34
5.4.200.0040.03912.34
5.4.190.0050.03712.34
5.4.180.0060.03812.33
5.4.170.0050.03812.35
5.4.160.0070.04512.34
5.4.150.0030.04212.34
5.4.140.0060.03712.02
5.4.130.0060.03512.01
5.4.120.0050.03611.96
5.4.110.0040.03711.97
5.4.100.0080.03611.96
5.4.90.0050.03811.96
5.4.80.0080.03611.96
5.4.70.0060.03511.96
5.4.60.0070.03411.96
5.4.50.0080.03611.96
5.4.40.0070.04611.95
5.4.30.0110.04611.95
5.4.20.0070.04811.95
5.4.10.0050.03811.94
5.4.00.0030.04311.44
5.3.290.0110.03612.80
5.3.280.0090.03612.71
5.3.270.0050.04112.72
5.3.260.0090.05612.72
5.3.250.0140.03712.71
5.3.240.0050.05612.72
5.3.230.0060.05312.71
5.3.220.0050.03812.68
5.3.210.0080.04312.68
5.3.200.0060.03612.68
5.3.190.0060.03812.68
5.3.180.0080.03612.67
5.3.170.0060.04212.67
5.3.160.0060.03612.67
5.3.150.0040.03812.67
5.3.140.0030.04012.66
5.3.130.0050.04012.66
5.3.120.0080.04012.66
5.3.110.0050.04112.66
5.3.100.0050.03912.12
5.3.90.0090.04212.08
5.3.80.0080.03512.08
5.3.70.0090.03512.07
5.3.60.0080.03812.07
5.3.50.0090.03712.00
5.3.40.0080.03612.01
5.3.30.0060.03811.95
5.3.20.0060.03911.73
5.3.10.0110.04711.70
5.3.00.0130.04711.69
5.2.170.0050.0389.19
5.2.160.0040.0319.19
5.2.150.0050.0319.19
5.2.140.0050.0349.19
5.2.130.0080.0359.14
5.2.120.0060.0339.15
5.2.110.0050.0339.16
5.2.100.0060.0289.15
5.2.90.0060.0299.15
5.2.80.0040.0319.14
5.2.70.0040.0359.15
5.2.60.0010.0339.10
5.2.50.0060.0369.07
5.2.40.0040.0299.05
5.2.30.0040.0299.02
5.2.20.0050.0279.01
5.2.10.0040.0278.92
5.2.00.0040.0318.78
5.1.60.0030.0278.06
5.1.50.0030.0268.05
5.1.40.0040.0318.04
5.1.30.0050.0338.39
5.1.20.0050.0338.41
5.1.10.0050.0268.13
5.1.00.0060.0258.13
5.0.50.0030.0206.62
5.0.40.0040.0186.48
5.0.30.0020.0316.29
5.0.20.0020.0206.26
5.0.10.0020.0226.23
5.0.00.0050.0296.23
4.4.90.0020.0164.78
4.4.80.0030.0154.75
4.4.70.0000.0184.75
4.4.60.0020.0174.76
4.4.50.0000.0184.77
4.4.40.0020.0274.71
4.4.30.0020.0164.75
4.4.20.0060.0204.84
4.4.10.0030.0174.85
4.4.00.0040.0254.76
4.3.110.0020.0164.67
4.3.100.0020.0154.66
4.3.90.0030.0154.63
4.3.80.0020.0264.58
4.3.70.0040.0164.63
4.3.60.0060.0204.62
4.3.50.0040.0194.63
4.3.40.0020.0244.54
4.3.30.0020.0163.28
4.3.20.0010.0173.26
4.3.10.0040.0143.21
4.3.00.0070.02015.95

preferences:
44.34 ms | 401 KiB | 5 Q