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'), '', $_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.70.0120.00316.75
8.3.60.0100.00316.38
8.3.50.0130.00522.85
8.3.40.0150.00318.91
8.3.30.0140.00318.70
8.3.20.0000.00820.38
8.3.10.0040.00423.66
8.3.00.0040.00417.50
8.2.180.0040.01116.75
8.2.170.0100.01022.96
8.2.160.0070.00720.58
8.2.150.0000.00724.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0030.00521.01
8.2.110.0090.00020.52
8.2.100.0070.00717.97
8.2.90.0040.00419.09
8.2.80.0030.00617.97
8.2.70.0070.00317.63
8.2.60.0050.00517.92
8.2.50.0090.00018.07
8.2.40.0050.00317.82
8.2.30.0040.00417.97
8.2.20.0040.00417.86
8.2.10.0000.00718.13
8.2.00.0000.00817.85
8.1.280.0140.00325.92
8.1.270.0080.00023.71
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0080.00323.60
8.1.230.0040.00818.99
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0060.00317.35
8.1.190.0040.00417.23
8.1.180.0030.00618.10
8.1.170.0060.00318.63
8.1.160.0050.00221.98
8.1.150.0040.00418.83
8.1.140.0000.00717.45
8.1.130.0000.00717.87
8.1.120.0040.00417.52
8.1.110.0030.00317.45
8.1.100.0000.00817.43
8.1.90.0000.00717.51
8.1.80.0070.00017.51
8.1.70.0030.00317.43
8.1.60.0040.00417.71
8.1.50.0030.00517.60
8.1.40.0050.00217.65
8.1.30.0060.00317.70
8.1.20.0040.00417.66
8.1.10.0080.00017.56
8.1.00.0040.00417.60
8.0.300.0040.00418.77
8.0.290.0000.00717.00
8.0.280.0070.00018.32
8.0.270.0030.00317.14
8.0.260.0030.00317.19
8.0.250.0070.00017.05
8.0.240.0000.00716.96
8.0.230.0070.00316.89
8.0.220.0000.00717.04
8.0.210.0000.00717.01
8.0.200.0000.00716.90
8.0.190.0080.00016.90
8.0.180.0040.00416.86
8.0.170.0050.00317.03
8.0.160.0040.00416.86
8.0.150.0040.00416.94
8.0.140.0000.00716.82
8.0.130.0000.00613.46
8.0.120.0050.00216.82
8.0.110.0000.00716.97
8.0.100.0070.00016.84
8.0.90.0000.00716.99
8.0.80.0090.01316.98
8.0.70.0000.00716.93
8.0.60.0000.00717.01
8.0.50.0000.00716.95
8.0.30.0120.00817.30
8.0.20.0130.00917.47
8.0.10.0040.00416.96
8.0.00.0110.00716.95
7.4.330.0000.00515.03
7.4.320.0000.00616.63
7.4.300.0000.00616.74
7.4.290.0000.00716.68
7.4.280.0030.00416.73
7.4.270.0040.00416.62
7.4.260.0030.00316.63
7.4.250.0070.00016.73
7.4.240.0020.00516.61
7.4.230.0030.00316.82
7.4.220.0130.00516.68
7.4.210.0070.00716.77
7.4.200.0030.00316.84
7.4.160.0030.01316.47
7.4.150.0120.00917.40
7.4.140.0110.00817.86
7.4.130.0050.01316.54
7.4.120.0090.00916.50
7.4.110.0090.00916.54
7.4.100.0030.01616.60
7.4.90.0030.01316.59
7.4.80.0130.00419.39
7.4.70.0130.00516.52
7.4.60.0120.00916.52
7.4.50.0000.00916.48
7.4.40.0070.01116.74
7.4.30.0130.00316.69
7.4.00.0070.01114.92
7.3.330.0000.00613.10
7.3.320.0030.00313.08
7.3.310.0070.00016.29
7.3.300.0080.00016.26
7.3.290.0060.00916.42
7.3.280.0130.00316.36
7.3.270.0070.01317.40
7.3.260.0120.00816.56
7.3.250.0140.00516.37
7.3.240.0100.00716.43
7.3.230.0140.00316.66
7.3.210.0120.00916.30
7.3.200.0100.01419.39
7.3.190.0100.01216.26
7.3.180.0000.01716.32
7.3.170.0100.01016.27
7.3.160.0090.01216.55
7.3.10.0060.01116.30
7.3.00.0070.00716.42
7.2.330.0070.01316.59
7.2.320.0120.00816.58
7.2.310.0070.01016.67
7.2.300.0120.00416.71
7.2.290.0130.01916.61
7.2.130.0070.00716.85
7.2.120.0070.00416.57
7.2.110.0040.00816.78
7.2.100.0030.01316.45
7.2.90.0090.00616.81
7.2.80.0100.00516.71
7.2.70.0100.00716.92
7.2.60.0110.00616.81
7.2.50.0060.01216.80
7.2.40.0000.01616.61
7.2.30.0100.00617.01
7.2.20.0080.01217.01
7.2.10.0100.00716.73
7.2.00.0030.01418.15
7.1.250.0030.01215.59
7.1.100.0030.00718.46
7.1.70.0000.00717.36
7.1.60.0060.00617.53
7.1.50.0090.01217.14
7.1.00.0070.07022.55
7.0.200.0250.01216.76
7.0.140.0030.07022.15
7.0.60.0130.07720.00
7.0.50.0130.07317.93
7.0.40.0070.04020.29
7.0.30.0470.06720.19
7.0.20.0200.04320.19
7.0.10.0070.05320.14
7.0.00.0100.07720.21
5.6.280.0000.07321.09
5.6.210.0130.08020.66
5.6.200.0030.05318.22
5.6.190.0070.04020.43
5.6.180.0230.05720.77
5.6.170.0300.06720.41
5.6.160.0030.06020.61
5.6.150.0030.06718.18
5.6.140.0130.04718.17
5.6.130.0130.05718.17
5.6.120.0070.08021.04
5.6.110.0070.09021.11
5.6.100.0170.07320.87
5.6.90.0070.08320.96
5.6.80.0130.05720.41
5.5.350.0100.08320.38
5.5.340.0070.07718.04
5.5.330.0070.07020.14
5.5.320.0030.06720.13
5.5.310.0400.06020.43
5.5.300.0070.03317.91
5.5.290.0070.07018.02
5.5.280.0030.05720.97
5.5.270.0100.05720.79
5.5.260.0170.06320.74
5.5.250.0070.07020.74
5.5.240.0130.08320.34
5.4.450.0400.04019.26
5.4.440.0300.03719.39
5.4.430.0200.04019.40
5.4.420.0400.04019.25
5.4.410.0370.04319.33
5.4.400.0200.03719.23
5.4.390.0230.03018.93
5.4.380.0230.05718.72
5.4.370.0400.04018.50
5.4.360.0330.05018.72
5.4.350.0370.06018.50
5.4.340.0430.06018.49
5.4.320.0070.03512.45
5.4.310.0070.03712.45
5.4.300.0090.03312.45
5.4.290.0050.03812.45
5.4.280.0070.03412.34
5.4.270.0070.03512.35
5.4.260.0040.04012.35
5.4.250.0060.04312.34
5.4.240.0060.03812.35
5.4.230.0090.03512.34
5.4.220.0060.05212.34
5.4.210.0060.03512.34
5.4.200.0070.03712.34
5.4.190.0040.03912.33
5.4.180.0070.03612.34
5.4.170.0060.03612.34
5.4.160.0100.04012.34
5.4.150.0080.03512.34
5.4.140.0060.03712.02
5.4.130.0070.03412.01
5.4.120.0050.03611.97
5.4.110.0050.03611.96
5.4.100.0050.03711.96
5.4.90.0050.04511.96
5.4.80.0080.04311.96
5.4.70.0030.03711.96
5.4.60.0030.03711.96
5.4.50.0030.03811.96
5.4.40.0060.03511.95
5.4.30.0070.03711.95
5.4.20.0110.03011.95
5.4.10.0040.03611.95
5.4.00.0050.03711.44
5.3.290.0070.04012.80
5.3.280.0160.03912.71
5.3.270.0080.03712.72
5.3.260.0100.03912.72
5.3.250.0090.03512.72
5.3.240.0080.03512.72
5.3.230.0050.03912.71
5.3.220.0060.03712.68
5.3.210.0070.03712.68
5.3.200.0080.04812.68
5.3.190.0060.05312.68
5.3.180.0080.03512.68
5.3.170.0070.03612.67
5.3.160.0040.04012.67
5.3.150.0060.03812.68
5.3.140.0050.03812.66
5.3.130.0040.04112.66
5.3.120.0060.04012.66
5.3.110.0040.04112.66
5.3.100.0030.04012.12
5.3.90.0050.03812.09
5.3.80.0060.04512.08
5.3.70.0050.04112.08
5.3.60.0080.03312.06
5.3.50.0060.03612.00
5.3.40.0070.03612.00
5.3.30.0030.03911.96
5.3.20.0050.03811.73
5.3.10.0060.03711.70
5.3.00.0060.03811.68
5.2.170.0040.0319.19
5.2.160.0060.0289.19
5.2.150.0050.0309.19
5.2.140.0050.0309.19
5.2.130.0080.0279.14
5.2.120.0080.0269.15
5.2.110.0060.0289.15
5.2.100.0040.0289.15
5.2.90.0050.0289.16
5.2.80.0070.0289.15
5.2.70.0020.0329.15
5.2.60.0020.0329.10
5.2.50.0050.0299.07
5.2.40.0040.0389.05
5.2.30.0070.0329.03
5.2.20.0050.0349.01
5.2.10.0090.0318.92
5.2.00.0060.0388.78
5.1.60.0040.0258.06
5.1.50.0040.0308.06
5.1.40.0060.0308.04
5.1.30.0010.0408.39
5.1.20.0030.0318.41
5.1.10.0030.0288.14
5.1.00.0060.0248.13
5.0.50.0000.0366.62
5.0.40.0040.0296.47
5.0.30.0030.0426.29
5.0.20.0010.0226.26
5.0.10.0030.0266.23
5.0.00.0060.0366.23
4.4.90.0040.0184.78
4.4.80.0050.0164.76
4.4.70.0040.0184.75
4.4.60.0060.0174.75
4.4.50.0040.0154.77
4.4.40.0050.0234.71
4.4.30.0040.0174.76
4.4.20.0040.0164.84
4.4.10.0060.0214.85
4.4.00.0020.0284.76
4.3.110.0030.0224.66
4.3.100.0010.0184.66
4.3.90.0020.0164.63
4.3.80.0060.0234.58
4.3.70.0090.0134.63
4.3.60.0030.0154.63
4.3.50.0000.0194.63
4.3.40.0030.0254.54
4.3.30.0020.0163.28
4.3.20.0030.0153.25
4.3.10.0030.0153.22
4.3.00.0030.01315.95

preferences:
51.29 ms | 401 KiB | 5 Q