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.0100.00316.38
8.3.50.0070.01221.92
8.3.40.0040.01119.02
8.3.30.0000.01418.95
8.3.20.0070.00020.34
8.3.10.0000.00821.63
8.3.00.0030.00517.80
8.2.180.0110.01116.88
8.2.170.0140.00722.96
8.2.160.0150.00020.38
8.2.150.0050.00324.18
8.2.140.0070.00024.66
8.2.130.0040.00426.16
8.2.120.0080.00020.93
8.2.110.0070.00320.38
8.2.100.0090.00317.91
8.2.90.0060.00318.34
8.2.80.0110.00017.97
8.2.70.0030.00517.63
8.2.60.0000.00717.93
8.2.50.0060.00318.07
8.2.40.0050.00318.22
8.2.30.0000.00717.96
8.2.20.0040.00417.84
8.2.10.0000.00718.03
8.2.00.0060.00317.64
8.1.280.0120.00325.92
8.1.270.0060.00323.73
8.1.260.0000.00726.35
8.1.250.0050.00228.09
8.1.240.0090.00022.25
8.1.230.0000.01120.90
8.1.220.0000.00817.74
8.1.210.0060.00318.77
8.1.200.0000.01017.36
8.1.190.0040.00417.23
8.1.180.0030.00618.10
8.1.170.0000.00818.62
8.1.160.0070.00022.02
8.1.150.0000.00718.75
8.1.140.0070.00417.46
8.1.130.0000.00717.73
8.1.120.0050.00217.46
8.1.110.0040.00417.50
8.1.100.0040.00417.61
8.1.90.0000.00717.43
8.1.80.0070.00017.56
8.1.70.0080.00017.49
8.1.60.0040.00717.57
8.1.50.0030.00517.65
8.1.40.0080.00017.68
8.1.30.0030.00517.73
8.1.20.0040.00417.66
8.1.10.0040.00417.55
8.1.00.0050.00317.67
8.0.300.0000.00720.25
8.0.290.0000.01116.88
8.0.280.0070.00018.38
8.0.270.0000.00717.21
8.0.260.0000.00617.19
8.0.250.0070.00017.02
8.0.240.0030.00517.07
8.0.230.0090.00017.05
8.0.220.0050.00216.95
8.0.210.0040.00417.02
8.0.200.0000.00617.05
8.0.190.0000.00817.04
8.0.180.0080.00017.04
8.0.170.0000.00816.97
8.0.160.0000.00716.88
8.0.150.0000.00817.03
8.0.140.0000.00816.89
8.0.130.0060.00013.36
8.0.120.0000.00816.86
8.0.110.0000.00816.96
8.0.100.0000.00716.86
8.0.90.0040.00416.86
8.0.80.0050.01217.00
8.0.70.0030.00416.81
8.0.60.0080.00016.81
8.0.50.0080.00016.84
8.0.30.0110.01017.13
8.0.20.0100.00817.40
8.0.10.0070.00017.12
8.0.00.0080.00916.80
7.4.330.0000.00515.11
7.4.320.0000.00616.75
7.4.300.0030.00316.79
7.4.290.0000.00816.73
7.4.280.0070.00316.66
7.4.270.0050.00316.76
7.4.260.0040.00416.66
7.4.250.0040.00416.73
7.4.240.0020.00516.64
7.4.230.0000.00816.59
7.4.220.0090.00916.79
7.4.210.0070.00716.68
7.4.200.0040.00416.57
7.4.160.0130.00316.77
7.4.150.0060.01217.40
7.4.140.0130.00817.86
7.4.130.0100.00916.49
7.4.120.0060.01116.70
7.4.110.0140.00416.61
7.4.100.0070.01016.50
7.4.90.0070.01016.57
7.4.80.0110.01119.39
7.4.70.0070.01016.49
7.4.60.0110.00716.50
7.4.50.0040.00416.46
7.4.40.0060.01316.64
7.4.30.0060.00916.81
7.4.00.0060.00814.99
7.3.330.0000.00513.27
7.3.320.0000.00513.27
7.3.310.0040.00416.14
7.3.300.0000.00716.34
7.3.290.0090.00616.25
7.3.280.0100.00916.31
7.3.270.0070.01017.40
7.3.260.0180.00016.65
7.3.250.0130.00516.59
7.3.240.0060.01016.25
7.3.230.0100.01316.39
7.3.210.0030.01316.30
7.3.200.0140.01019.39
7.3.190.0090.00816.52
7.3.180.0100.00716.39
7.3.170.0030.01316.45
7.3.160.0190.00016.30
7.3.120.0060.01114.87
7.3.110.0040.01114.77
7.3.100.0000.01515.12
7.3.90.0080.00414.83
7.3.80.0100.00714.70
7.3.70.0040.01114.92
7.3.60.0060.01014.52
7.3.50.0030.01214.85
7.3.40.0030.01014.93
7.3.30.0030.00914.69
7.3.20.0000.01516.86
7.3.10.0030.01316.52
7.3.00.0090.00616.64
7.2.330.0090.01216.64
7.2.320.0120.00616.73
7.2.310.0160.00616.59
7.2.300.0080.00816.65
7.2.290.0150.00616.60
7.2.250.0070.01314.89
7.2.240.0060.01315.04
7.2.230.0040.01115.09
7.2.220.0100.00715.09
7.2.210.0150.00414.86
7.2.200.0030.01215.05
7.2.190.0100.00714.96
7.2.180.0070.01015.00
7.2.170.0070.01015.02
7.2.130.0120.00616.66
7.2.120.0140.00616.85
7.2.110.0150.00016.59
7.2.100.0100.00516.58
7.2.90.0130.01016.66
7.2.80.0100.00716.27
7.2.70.0060.01316.39
7.2.60.0100.00716.60
7.2.50.0030.01416.60
7.2.40.0120.00916.80
7.2.30.0120.00616.58
7.2.20.0120.00316.64
7.2.10.0100.00716.60
7.2.00.0070.00918.08
7.1.330.0110.00315.72
7.1.320.0070.01115.89
7.1.310.0040.01115.79
7.1.300.0030.01215.96
7.1.290.0030.01015.93
7.1.280.0080.00815.89
7.1.270.0000.01415.91
7.1.260.0070.00715.86
7.1.250.0110.00415.45
7.1.100.0130.00818.31
7.1.70.0000.00717.41
7.1.60.0140.01019.11
7.1.50.0260.01034.79
7.1.00.0070.07322.59
7.0.200.0040.00416.93
7.0.140.0030.06722.09
7.0.60.0000.04319.94
7.0.50.0100.08017.91
7.0.40.0030.09020.11
7.0.30.0530.03720.23
7.0.20.0270.06020.04
7.0.10.0070.09020.10
7.0.00.0000.08020.01
5.6.280.0070.07021.07
5.6.210.0070.06020.76
5.6.200.0070.04018.22
5.6.190.0070.08320.56
5.6.180.3930.04320.43
5.6.170.0270.03320.54
5.6.160.0130.08020.50
5.6.150.0070.03718.16
5.6.140.0100.07718.20
5.6.130.0100.07018.08
5.6.120.0030.04021.10
5.6.110.0100.07720.88
5.6.100.0070.07720.98
5.6.90.0070.04020.87
5.6.80.0130.06720.37
5.6.70.4270.04320.27
5.5.350.0200.07320.39
5.5.340.0030.04717.96
5.5.330.0100.08320.56
5.5.320.3530.04720.30
5.5.310.0230.04320.34
5.5.300.0030.08017.91
5.5.290.0030.08317.94
5.5.280.0030.05720.95
5.5.270.0170.05320.64
5.5.260.0100.08020.86
5.5.250.0070.07320.57
5.5.240.0270.08320.25
5.4.450.0230.04319.46
5.4.440.0130.04719.24
5.4.430.0300.05019.40
5.4.420.0430.04019.42
5.4.410.0230.05019.30
5.4.400.0430.02719.09
5.4.390.0230.03319.24
5.4.380.1070.04718.46
5.4.370.0930.05718.66
5.4.360.0870.05718.53
5.4.350.0800.05718.61
5.4.340.0830.06318.71
5.4.320.0060.03612.45
5.4.310.0040.04112.45
5.4.300.0070.03712.45
5.4.290.0030.04212.45
5.4.280.0070.03412.34
5.4.270.0060.03512.35
5.4.260.0060.04012.34
5.4.250.0090.03612.35
5.4.240.0040.03812.34
5.4.230.0020.04312.34
5.4.220.0060.03612.34
5.4.210.0080.03912.34
5.4.200.0100.03312.34
5.4.190.0060.04212.33
5.4.180.0100.03312.33
5.4.170.0080.03912.34
5.4.160.0050.04012.34
5.4.150.0040.04112.34
5.4.140.0060.03712.02
5.4.130.0080.03812.01
5.4.120.0090.03711.97
5.4.110.0050.03611.96
5.4.100.0040.03711.96
5.4.90.0050.04111.96
5.4.80.0100.04711.96
5.4.70.0040.03711.96
5.4.60.0090.03911.96
5.4.50.0040.04511.96
5.4.40.0040.03911.95
5.4.30.0040.03711.95
5.4.20.0020.04011.95
5.4.10.0050.03511.95
5.4.00.0030.03911.43
5.3.290.0080.04212.80
5.3.280.0070.04112.71
5.3.270.0060.03912.73
5.3.260.0050.04512.72
5.3.250.0070.03912.71
5.3.240.0050.04812.72
5.3.230.0060.04112.71
5.3.220.0060.04512.68
5.3.210.0090.04712.68
5.3.200.0070.03912.68
5.3.190.0040.04612.68
5.3.180.0090.03712.67
5.3.170.0060.04912.67
5.3.160.0060.04312.68
5.3.150.0060.03912.68
5.3.140.0030.04712.66
5.3.130.0060.04212.66
5.3.120.0070.03912.66
5.3.110.0050.04012.66
5.3.100.0060.04212.12
5.3.90.0110.03412.08
5.3.80.0090.03712.07
5.3.70.0070.03512.07
5.3.60.0030.04512.07
5.3.50.0040.04112.00
5.3.40.0090.04312.00
5.3.30.0060.03811.95
5.3.20.0080.03911.73
5.3.10.0070.03211.70
5.3.00.0060.03811.69
5.2.170.0060.0309.19
5.2.160.0030.0309.18
5.2.150.0050.0329.19
5.2.140.0060.0349.19
5.2.130.0060.0289.14
5.2.120.0020.0309.14
5.2.110.0060.0319.15
5.2.100.0010.0349.15
5.2.90.0050.0299.14
5.2.80.0060.0349.14
5.2.70.0070.0329.14
5.2.60.0080.0299.09
5.2.50.0060.0359.06
5.2.40.0040.0329.04
5.2.30.0060.0329.03
5.2.20.0050.0329.01
5.2.10.0060.0268.92
5.2.00.0060.0278.77
5.1.60.0050.0278.06
5.1.50.0040.0268.05
5.1.40.0050.0258.04
5.1.30.0070.0238.39
5.1.20.0070.0278.41
5.1.10.0040.0268.13
5.1.00.0050.0278.13
5.0.50.0050.0216.61
5.0.40.0050.0176.47
5.0.30.0030.0326.29
5.0.20.0030.0206.26
5.0.10.0040.0196.23
5.0.00.0040.0336.23
4.4.90.0050.0194.78
4.4.80.0040.0154.76
4.4.70.0020.0174.75
4.4.60.0070.0114.76
4.4.50.0030.0154.77
4.4.40.0020.0264.71
4.4.30.0010.0194.76
4.4.20.0020.0164.85
4.4.10.0020.0164.85
4.4.00.0020.0254.76
4.3.110.0020.0194.67
4.3.100.0040.0174.66
4.3.90.0020.0184.63
4.3.80.0020.0254.59
4.3.70.0040.0164.63
4.3.60.0020.0174.63
4.3.50.0010.0174.63
4.3.40.0030.0254.54
4.3.30.0030.0163.28
4.3.20.0020.0163.26
4.3.10.0020.0183.21
4.3.00.0030.01715.29

preferences:
45.92 ms | 401 KiB | 5 Q