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 = 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.0070.00716.63
8.3.50.0100.01023.07
8.3.40.0060.01219.00
8.3.30.0100.00719.08
8.3.20.0030.00620.30
8.3.10.0080.00023.65
8.3.00.0000.00819.38
8.2.180.0100.00616.75
8.2.170.0100.01022.96
8.2.160.0070.00720.37
8.2.150.0000.00724.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00421.09
8.2.110.0030.00622.23
8.2.100.0140.00317.84
8.2.90.0000.00919.04
8.2.80.0040.00417.97
8.2.70.0000.01117.75
8.2.60.0030.00617.93
8.2.50.0050.00318.07
8.2.40.0030.00618.34
8.2.30.0000.00718.15
8.2.20.0070.00017.80
8.2.10.0040.00418.19
8.2.00.0040.00417.77
8.1.280.0070.00725.92
8.1.270.0030.00623.97
8.1.260.0070.00026.35
8.1.250.0050.00328.09
8.1.240.0060.00323.86
8.1.230.0040.00718.96
8.1.220.0040.00417.78
8.1.210.0040.00418.77
8.1.200.0060.00317.35
8.1.190.0080.00017.35
8.1.180.0080.00018.10
8.1.170.0030.00618.69
8.1.160.0050.00222.02
8.1.150.0050.00318.89
8.1.140.0040.00417.52
8.1.130.0030.00317.84
8.1.120.0000.00817.48
8.1.110.0040.00417.53
8.1.100.0070.00017.55
8.1.90.0000.00717.57
8.1.80.0030.00317.54
8.1.70.0040.00417.46
8.1.60.0030.00617.74
8.1.50.0040.00417.62
8.1.40.0040.00417.66
8.1.30.0000.00917.72
8.1.20.0050.00217.80
8.1.10.0000.00817.55
8.1.00.0060.00317.52
8.0.300.0070.00018.77
8.0.290.0070.00016.88
8.0.280.0070.00018.46
8.0.270.0030.00317.26
8.0.260.0000.00717.14
8.0.250.0000.00717.14
8.0.240.0030.00316.98
8.0.230.0000.00817.01
8.0.220.0030.00316.97
8.0.210.0070.00016.96
8.0.200.0000.00716.93
8.0.190.0000.00817.04
8.0.180.0040.00417.05
8.0.170.0060.00317.00
8.0.160.0030.00517.02
8.0.150.0040.00416.92
8.0.140.0020.00516.92
8.0.130.0040.00413.44
8.0.120.0040.00416.95
8.0.110.0040.00417.00
8.0.100.0050.00216.98
8.0.90.0040.00416.77
8.0.80.0050.01116.95
8.0.70.0070.00017.04
8.0.60.0050.00316.86
8.0.50.0040.00416.92
8.0.30.0090.00917.12
8.0.20.0140.00917.45
8.0.10.0040.00417.13
8.0.00.0140.00516.86
7.4.330.0050.00015.00
7.4.320.0030.00316.67
7.4.300.0060.00016.63
7.4.290.0070.00016.63
7.4.280.0040.00416.60
7.4.270.0040.00416.70
7.4.260.0030.00516.62
7.4.250.0000.00816.68
7.4.240.0020.00516.65
7.4.230.0040.00416.73
7.4.220.0030.01616.79
7.4.210.0100.01016.71
7.4.200.0070.00016.84
7.4.160.0080.00816.66
7.4.150.0110.00717.40
7.4.140.0070.01017.86
7.4.130.0070.01016.72
7.4.120.0070.00916.64
7.4.110.0150.00316.80
7.4.100.0110.00716.50
7.4.90.0070.01016.72
7.4.80.0100.00719.39
7.4.70.0080.01416.47
7.4.60.0030.01416.50
7.4.50.0000.00516.47
7.4.40.0070.01116.59
7.4.30.0090.00616.64
7.4.00.0090.00814.99
7.3.330.0060.00013.18
7.3.320.0020.00213.19
7.3.310.0050.00316.19
7.3.300.0030.00316.24
7.3.290.0110.00716.31
7.3.280.0100.00616.42
7.3.270.0070.01317.40
7.3.260.0040.01316.43
7.3.250.0090.00916.63
7.3.240.0110.00716.66
7.3.230.0030.01316.39
7.3.210.0120.00616.52
7.3.200.0090.00619.39
7.3.190.0100.01016.45
7.3.180.0030.01316.39
7.3.170.0170.00016.43
7.3.160.0120.00916.32
7.3.120.0100.00814.88
7.3.110.0070.00915.03
7.3.100.0050.01014.86
7.3.90.0080.00514.92
7.3.80.0040.00615.03
7.3.70.0100.00614.89
7.3.60.0090.00514.91
7.3.50.0060.00914.90
7.3.40.0080.00614.88
7.3.30.0050.00814.94
7.3.20.0040.00716.82
7.3.10.0060.00616.54
7.3.00.0050.00816.75
7.2.330.0030.01416.69
7.2.320.0160.00616.59
7.2.310.0100.00616.67
7.2.300.0060.00916.56
7.2.290.0120.00616.82
7.2.250.0080.00915.04
7.2.240.0050.01415.32
7.2.230.0070.00315.05
7.2.220.0040.00715.13
7.2.210.0070.00615.10
7.2.200.0060.00815.01
7.2.190.0050.01015.05
7.2.180.0050.00815.09
7.2.170.0090.00615.08
7.2.00.0060.00619.35
7.1.330.0050.01016.02
7.1.320.0050.00815.90
7.1.310.0040.01116.11
7.1.300.0070.00815.96
7.1.290.0020.00915.86
7.1.280.0080.00815.97
7.1.270.0050.00615.85
7.1.260.0080.00516.01
7.1.100.0000.00918.52
7.1.70.0000.01517.32
7.1.60.0140.01019.40
7.1.50.0090.01217.05
7.1.00.0030.07722.49
7.0.200.0000.00716.95
7.0.140.0070.07022.21
7.0.60.0200.07719.95
7.0.50.0100.06317.83
7.0.40.0000.08720.18
7.0.30.0330.05320.20
7.0.20.0230.06320.18
7.0.10.0070.05320.21
7.0.00.0030.05020.11
5.6.280.0030.07320.77
5.6.210.0030.06320.64
5.6.200.0070.08018.22
5.6.190.0170.07720.61
5.6.180.0270.04020.67
5.6.170.0200.04320.52
5.6.160.0070.04320.61
5.6.150.0030.06018.13
5.6.140.0030.07018.20
5.6.130.0030.04018.18
5.6.120.0130.04721.01
5.6.110.0030.06020.98
5.6.100.0070.08021.10
5.6.90.0130.06320.99
5.6.80.0070.03720.41
5.5.350.0230.03020.50
5.5.340.0070.08017.98
5.5.330.0070.04720.41
5.5.320.0030.08020.30
5.5.310.0200.06720.17
5.5.300.0130.07018.02
5.5.290.0070.04017.88
5.5.280.0070.06720.76
5.5.270.0100.08320.86
5.5.260.0030.04020.95
5.5.250.0030.04320.45
5.5.240.0070.03720.15
5.4.450.0400.05019.55
5.4.440.0100.05719.59
5.4.430.0330.04719.13
5.4.420.0170.05019.35
5.4.410.0530.03319.13
5.4.400.0570.03719.07
5.4.390.0330.04718.88
5.4.380.0330.06318.72
5.4.370.0400.04318.52
5.4.360.0330.05718.61
5.4.350.0570.07718.61
5.4.340.0270.06318.74
5.4.320.0050.04012.45
5.4.310.0040.03912.45
5.4.300.0050.03712.45
5.4.290.0070.03812.45
5.4.280.0100.03712.35
5.4.270.0090.04612.34
5.4.260.0080.05012.35
5.4.250.0060.03912.35
5.4.240.0060.04112.34
5.4.230.0080.05112.34
5.4.220.0030.04212.34
5.4.210.0070.03412.34
5.4.200.0040.04012.34
5.4.190.0050.03712.34
5.4.180.0060.03712.34
5.4.170.0050.03812.34
5.4.160.0090.03412.34
5.4.150.0070.03612.34
5.4.140.0040.04012.02
5.4.130.0040.03912.01
5.4.120.0080.03411.96
5.4.110.0060.04611.96
5.4.100.0070.04411.96
5.4.90.0040.03911.96
5.4.80.0060.05111.96
5.4.70.0150.06411.96
5.4.60.0080.04911.96
5.4.50.0110.06411.96
5.4.40.0120.06411.95
5.4.30.0110.04711.94
5.4.20.0060.04011.95
5.4.10.0060.03811.95
5.4.00.0060.03911.44
5.3.290.0090.04912.80
5.3.280.0120.05112.71
5.3.270.0090.05412.72
5.3.260.0050.04212.72
5.3.250.0060.03812.72
5.3.240.0070.05412.72
5.3.230.0070.04512.71
5.3.220.0080.03612.68
5.3.210.0060.04012.68
5.3.200.0070.03612.68
5.3.190.0060.03712.67
5.3.180.0060.03612.67
5.3.170.0070.03612.67
5.3.160.0070.03612.67
5.3.150.0040.04012.67
5.3.140.0080.05112.66
5.3.130.0120.07012.65
5.3.120.0090.07012.66
5.3.110.0060.04312.66
5.3.100.0110.05012.12
5.3.90.0090.04312.09
5.3.80.0020.04212.07
5.3.70.0090.03912.07
5.3.60.0040.04112.06
5.3.50.0090.05312.00
5.3.40.0080.04312.00
5.3.30.0110.04611.96
5.3.20.0080.04711.74
5.3.10.0140.05411.70
5.3.00.0120.05811.69
5.2.170.0050.0519.19
5.2.160.0050.0439.19
5.2.150.0070.0279.19
5.2.140.0050.0329.18
5.2.130.0040.0319.14
5.2.120.0030.0319.14
5.2.110.0080.0279.16
5.2.100.0050.0299.15
5.2.90.0080.0309.15
5.2.80.0050.0379.14
5.2.70.0040.0399.14
5.2.60.0060.0299.10
5.2.50.0030.0339.07
5.2.40.0050.0299.05
5.2.30.0060.0299.03
5.2.20.0060.0299.01
5.2.10.0050.0288.92
5.2.00.0040.0308.78
5.1.60.0010.0278.06
5.1.50.0060.0248.06
5.1.40.0030.0258.04
5.1.30.0070.0248.39
5.1.20.0010.0308.41
5.1.10.0070.0268.14
5.1.00.0060.0368.13
5.0.50.0050.0286.61
5.0.40.0050.0196.47
5.0.30.0030.0436.29
5.0.20.0060.0236.26
5.0.10.0030.0226.24
5.0.00.0040.0316.23
4.4.90.0030.0164.77
4.4.80.0030.0154.75
4.4.70.0090.0254.75
4.4.60.0080.0524.75
4.4.50.0060.0124.77
4.4.40.0050.0294.71
4.4.30.0010.0194.76
4.4.20.0020.0164.84
4.4.10.0030.0184.85
4.4.00.0040.0244.75
4.3.110.0060.0194.66
4.3.100.0020.0154.67
4.3.90.0030.0144.64
4.3.80.0010.0264.59
4.3.70.0030.0154.63
4.3.60.0050.0244.63
4.3.50.0050.0294.63
4.3.40.0060.0264.54
4.3.30.0030.0153.28
4.3.20.0040.0163.26
4.3.10.0150.0543.22
4.3.00.0030.01715.95

preferences:
48.24 ms | 401 KiB | 5 Q