3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 'sdfsdfsdf<table id="test">dfsdfsdff fsaf sfsf ssfasf</table>end'; echo preg_replace('/\<table(*+)/', '', $a);

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.0110.00621.87
8.3.40.0100.00718.97
8.3.30.0070.00718.92
8.3.20.0040.00420.39
8.3.10.0040.00421.90
8.3.00.0080.00017.65
8.2.180.0120.00316.63
8.2.170.0090.00622.96
8.2.160.0140.00320.27
8.2.150.0000.00724.18
8.2.140.0050.00324.66
8.2.130.0150.00026.16
8.2.120.0070.00021.09
8.2.110.0180.00020.39
8.2.100.0080.00417.91
8.2.90.0030.00618.09
8.2.80.0030.00617.97
8.2.70.0050.00317.50
8.2.60.0040.00417.93
8.2.50.0000.00818.07
8.2.40.0040.00418.34
8.2.30.0040.00418.10
8.2.20.0040.00417.68
8.2.10.0050.00217.91
8.2.00.0000.00717.67
8.1.280.0120.00925.92
8.1.270.0050.00523.82
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0100.00722.45
8.1.230.0080.00821.03
8.1.220.0000.00817.79
8.1.210.0080.00018.94
8.1.200.0000.00817.22
8.1.190.0080.00017.10
8.1.180.0000.00718.10
8.1.170.0050.00318.34
8.1.160.0000.00721.95
8.1.150.0040.00418.82
8.1.140.0060.00317.39
8.1.130.0030.00317.74
8.1.120.0030.00517.42
8.1.110.0050.00317.29
8.1.100.0000.00717.39
8.1.90.0000.00717.39
8.1.80.0000.00717.38
8.1.70.0030.00317.39
8.1.60.0000.00917.52
8.1.50.0080.00017.50
8.1.40.0040.00417.48
8.1.30.0040.00417.55
8.1.20.0030.00517.55
8.1.10.0040.00417.39
8.1.00.0050.00217.36
8.0.300.0000.00720.14
8.0.290.0060.00316.75
8.0.280.0000.00718.54
8.0.270.0000.00717.26
8.0.260.0060.00017.27
8.0.250.0070.00017.05
8.0.240.0040.00416.86
8.0.230.0030.00616.87
8.0.220.0050.00316.83
8.0.210.0070.00016.93
8.0.200.0000.00616.82
8.0.190.0030.00516.90
8.0.180.0040.00416.80
8.0.170.0030.00516.89
8.0.160.0000.00716.88
8.0.150.0100.00016.86
8.0.140.0030.00416.90
8.0.130.0000.00513.33
8.0.120.0080.00016.88
8.0.110.0040.00416.81
8.0.100.0000.00716.88
8.0.90.0030.00316.95
8.0.80.0140.00716.82
8.0.70.0040.00416.75
8.0.60.0000.00716.75
8.0.50.0000.00716.73
8.0.30.0070.01317.10
8.0.20.0110.00717.40
8.0.10.0000.00716.85
8.0.00.0140.00516.68
7.4.330.0050.00015.04
7.4.320.0000.00816.50
7.4.300.0000.00616.55
7.4.290.0060.00316.52
7.4.280.0000.01016.64
7.4.270.0000.00716.46
7.4.260.0070.00316.57
7.4.250.0000.00716.37
7.4.240.0050.00216.47
7.4.230.0030.00316.63
7.4.220.0060.01516.61
7.4.210.0090.00916.41
7.4.200.0050.00216.32
7.4.160.0120.00316.28
7.4.150.0090.00917.40
7.4.140.0100.00717.86
7.4.130.0060.01116.61
7.4.120.0060.01316.54
7.4.110.0150.00616.51
7.4.100.0070.01016.67
7.4.90.0030.01416.77
7.4.80.0030.01319.39
7.4.70.0160.00016.67
7.4.60.0160.00616.44
7.4.50.0000.00816.65
7.4.40.0030.01616.43
7.4.30.0100.00616.55
7.4.00.0060.01115.09
7.3.330.0020.00213.11
7.3.320.0030.00313.01
7.3.310.0030.00316.27
7.3.300.0000.00716.11
7.3.290.0140.00016.29
7.3.280.0100.00916.32
7.3.270.0120.00617.40
7.3.260.0050.01616.54
7.3.250.0130.00516.30
7.3.240.0100.00716.58
7.3.230.0090.00916.39
7.3.210.0090.00616.21
7.3.200.0070.01119.39
7.3.190.0100.01016.32
7.3.180.0060.00916.30
7.3.170.0100.00616.48
7.3.160.0030.01516.60
7.3.120.0080.00814.85
7.3.110.0070.01114.95
7.3.100.0030.01014.53
7.3.90.0040.01114.81
7.3.80.0060.00614.69
7.3.70.0070.01014.85
7.3.60.0070.00714.89
7.3.50.0100.00014.93
7.3.40.0030.00714.83
7.3.30.0070.00414.50
7.3.20.0030.00716.43
7.3.10.0060.00916.62
7.3.00.0000.01116.36
7.2.330.0060.01216.52
7.2.320.0060.01216.29
7.2.310.0100.01316.27
7.2.300.0030.01516.48
7.2.290.0070.01416.64
7.2.250.0070.01314.82
7.2.240.0070.01414.88
7.2.230.0110.00414.81
7.2.220.0070.00714.99
7.2.210.0000.01615.00
7.2.200.0080.00814.91
7.2.190.0080.00615.10
7.2.180.0070.00714.73
7.2.170.0000.01515.13
7.2.80.0100.00316.47
7.2.60.0050.00516.93
7.2.00.0090.00619.23
7.1.330.0100.00315.68
7.1.320.0040.00715.88
7.1.310.0030.01015.66
7.1.300.0040.00715.71
7.1.290.0030.00615.69
7.1.280.0060.00615.50
7.1.270.0030.00915.63
7.1.260.0070.00715.79
7.1.200.0030.00915.87
7.1.100.0090.00918.06
7.1.70.0030.00617.21
7.1.60.0030.01919.11
7.1.50.0130.00634.73
7.1.00.0070.07322.34
7.0.200.0040.00716.79
7.0.140.0030.07321.96
7.0.60.0330.07019.84
7.0.50.0030.06017.79
7.0.40.0070.08720.02
7.0.30.0270.03720.23
7.0.20.0270.07720.21
7.0.10.0130.07720.04
7.0.00.0030.09320.32
5.6.280.0100.06721.04
5.6.210.0000.07720.72
5.6.200.0130.08018.22
5.6.190.0000.05020.64
5.6.180.4000.04020.58
5.6.170.0270.06020.51
5.6.160.0070.08320.48
5.6.150.0070.07718.21
5.6.140.0070.08718.23
5.6.130.0000.08718.22
5.6.120.0100.08320.98
5.6.110.0170.07721.07
5.6.100.0070.04021.13
5.6.90.0070.05720.95
5.6.80.0130.05020.36
5.5.350.0270.07720.32
5.5.340.0070.04017.98
5.5.330.0100.03720.28
5.5.320.4070.04020.20
5.5.310.0300.08320.50
5.5.300.0000.08718.01
5.5.290.0030.08018.02
5.5.280.0070.04720.76
5.5.270.0070.08020.86
5.5.260.0100.08020.76
5.5.250.0170.06720.67
5.5.240.0300.04720.27
5.4.450.0430.03719.42
5.4.440.0430.04719.41
5.4.430.0170.03719.48
5.4.420.0170.04019.46
5.4.410.0730.04019.36
5.4.400.0600.04019.07
5.4.390.0400.04318.90
5.4.380.0570.05318.61
5.4.370.0830.06018.69
5.4.360.1030.05318.60
5.4.350.0930.05718.57
5.4.340.0730.05018.57
5.4.320.0060.04612.45
5.4.310.0060.03812.45
5.4.300.0040.03812.45
5.4.290.0070.03612.45
5.4.280.0050.03612.35
5.4.270.0050.03912.34
5.4.260.0070.04112.34
5.4.250.0050.04012.34
5.4.240.0100.03812.35
5.4.230.0040.04312.34
5.4.220.0080.04012.34
5.4.210.0060.04212.34
5.4.200.0070.04012.34
5.4.190.0060.03812.34
5.4.180.0080.03512.34
5.4.170.0070.03912.35
5.4.160.0060.03712.34
5.4.150.0070.03812.34
5.4.140.0090.03712.02
5.4.130.0040.04112.01
5.4.120.0060.03511.96
5.4.110.0080.03911.96
5.4.100.0070.03711.96
5.4.90.0060.04011.96
5.4.80.0060.03811.96
5.4.70.0040.03711.96
5.4.60.0030.03711.96
5.4.50.0080.03811.96
5.4.40.0100.03811.95
5.4.30.0030.03811.95
5.4.20.0040.03711.95
5.4.10.0070.03311.94
5.4.00.0060.03711.43
5.3.290.0050.04712.80
5.3.280.0060.03812.70
5.3.270.0060.03912.73
5.3.260.0060.03912.72
5.3.250.0090.03412.72
5.3.240.0060.03712.72
5.3.230.0050.03812.71
5.3.220.0040.03912.68
5.3.210.0080.03812.68
5.3.200.0070.03812.68
5.3.190.0060.04612.68
5.3.180.0070.04412.68
5.3.170.0080.03812.67
5.3.160.0060.03712.67
5.3.150.0060.03712.67
5.3.140.0030.04012.66
5.3.130.0070.03812.65
5.3.120.0040.04112.66
5.3.110.0080.03712.66
5.3.100.0050.04012.12
5.3.90.0070.03512.08
5.3.80.0070.03712.08
5.3.70.0100.03512.08
5.3.60.0050.03812.07
5.3.50.0070.03612.00
5.3.40.0060.03812.00
5.3.30.0070.04411.95
5.3.20.0060.03911.73
5.3.10.0040.04111.70
5.3.00.0100.03611.69
5.2.170.0050.0339.19
5.2.160.0050.0339.19
5.2.150.0060.0339.19
5.2.140.0050.0349.18
5.2.130.0060.0329.15
5.2.120.0080.0289.15
5.2.110.0080.0279.16
5.2.100.0040.0329.15
5.2.90.0090.0279.14
5.2.80.0090.0269.14
5.2.70.0050.0339.14
5.2.60.0060.0309.10
5.2.50.0100.0299.07
5.2.40.0070.0339.04
5.2.30.0030.0319.02
5.2.20.0050.0289.01
5.2.10.0070.0308.91
5.2.00.0030.0328.77
5.1.60.0040.0258.06
5.1.50.0050.0288.05
5.1.40.0040.0278.04
5.1.30.0040.0278.39
5.1.20.0030.0318.41
5.1.10.0030.0278.13
5.1.00.0040.0268.14
5.0.50.0050.0226.61
5.0.40.0020.0236.47
5.0.30.0050.0336.29
5.0.20.0050.0186.25
5.0.10.0030.0206.23
5.0.00.0040.0416.23
4.4.90.0030.0164.78
4.4.80.0030.0154.76
4.4.70.0020.0164.76
4.4.60.0020.0164.75
4.4.50.0010.0174.77
4.4.40.0040.0244.70
4.4.30.0030.0154.76
4.4.20.0010.0174.84
4.4.10.0070.0184.85
4.4.00.0030.0314.76
4.3.110.0020.0214.67
4.3.100.0060.0184.66
4.3.90.0020.0164.63
4.3.80.0030.0244.59
4.3.70.0020.0154.63
4.3.60.0030.0144.63
4.3.50.0010.0184.63
4.3.40.0020.0254.54
4.3.30.0020.0193.28
4.3.20.0050.0173.25
4.3.10.0030.0153.21
4.3.00.0100.01015.29

preferences:
44.29 ms | 401 KiB | 5 Q