3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = <<<END Chris<br> <strong><span style="color: #7f7f7f;">Power</span><span style="color: #548dd4;">code</span></strong> - The smart choice in ISP billing and OSS<br> powercode.com<br> P: 920-351-1010<br> E: support@powercode.com END; echo preg_replace("/<br>\n/", '<br>', $string);

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.0090.00616.50
8.3.50.0130.00522.91
8.3.40.0110.00718.96
8.3.30.0070.00718.92
8.3.20.0050.00320.02
8.3.10.0040.00423.43
8.3.00.0050.00317.75
8.2.180.0120.00616.63
8.2.170.0100.00322.96
8.2.160.0100.00720.57
8.2.150.0050.00324.18
8.2.140.0050.00324.66
8.2.130.0000.00826.16
8.2.120.0080.00021.01
8.2.110.0050.00522.25
8.2.100.0000.01118.09
8.2.90.0000.00819.27
8.2.80.0030.00517.97
8.2.70.0040.00417.60
8.2.60.0040.00418.04
8.2.50.0000.00818.07
8.2.40.0040.00419.95
8.2.30.0040.00417.91
8.2.20.0050.00317.75
8.2.10.0040.00418.04
8.2.00.0040.00417.79
8.1.280.0140.00725.92
8.1.270.0000.00823.92
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0040.00422.13
8.1.230.0040.00719.21
8.1.220.0070.00017.74
8.1.210.0050.00318.77
8.1.200.0030.00717.35
8.1.190.0040.00417.22
8.1.180.0090.00018.10
8.1.170.0000.00818.71
8.1.160.0030.00521.85
8.1.150.0070.00018.81
8.1.140.0040.00417.50
8.1.130.0000.00717.88
8.1.120.0030.00517.46
8.1.110.0080.00017.55
8.1.100.0070.00017.44
8.1.90.0000.00817.51
8.1.80.0070.00017.44
8.1.70.0000.00717.52
8.1.60.0060.00317.70
8.1.50.0080.00017.51
8.1.40.0040.00417.63
8.1.30.0080.00017.63
8.1.20.0040.00417.73
8.1.10.0000.00817.68
8.1.00.0040.00417.57
8.0.300.0060.00318.77
8.0.290.0000.00716.88
8.0.280.0030.00318.45
8.0.270.0000.00717.21
8.0.260.0000.00817.35
8.0.250.0040.00417.21
8.0.240.0040.00417.10
8.0.230.0030.00516.96
8.0.220.0030.00317.08
8.0.210.0040.00417.02
8.0.200.0030.00317.07
8.0.190.0000.00817.00
8.0.180.0050.00316.96
8.0.170.0000.00817.06
8.0.160.0030.00317.16
8.0.150.0030.00316.98
8.0.140.0040.00417.02
8.0.130.0000.00513.47
8.0.120.0000.00717.00
8.0.110.0000.00716.95
8.0.100.0080.00016.90
8.0.90.0030.00316.87
8.0.80.0050.01517.02
8.0.70.0080.00016.86
8.0.60.0050.00217.13
8.0.50.0040.00416.91
8.0.30.0150.00817.11
8.0.20.0050.01417.44
8.0.10.0030.00517.22
8.0.00.0120.00616.94
7.4.330.0000.00615.05
7.4.320.0000.00716.54
7.4.300.0000.00616.72
7.4.290.0040.00416.75
7.4.280.0080.00316.59
7.4.270.0000.00716.70
7.4.260.0000.00816.72
7.4.250.0040.00416.76
7.4.240.0050.00216.64
7.4.230.0000.00716.53
7.4.220.0000.01716.78
7.4.210.0070.01416.68
7.4.200.0080.00016.49
7.4.160.0000.01616.66
7.4.150.0030.01417.40
7.4.140.0140.00817.86
7.4.130.0130.00416.77
7.4.120.0100.00716.76
7.4.110.0090.01316.55
7.4.100.0140.00616.77
7.4.90.0100.00716.73
7.4.80.0030.01319.39
7.4.70.0110.00616.61
7.4.60.0090.00916.54
7.4.50.0000.00816.48
7.4.40.0230.00016.47
7.4.30.0110.00516.61
7.4.00.0050.01214.89
7.3.330.0030.00313.22
7.3.320.0000.00513.13
7.3.310.0030.00516.22
7.3.300.0050.00216.21
7.3.290.0070.00716.37
7.3.280.0080.00716.33
7.3.270.0160.00617.40
7.3.260.0080.01316.68
7.3.250.0090.01016.56
7.3.240.0140.00316.50
7.3.230.0100.01016.49
7.3.210.0140.00316.54
7.3.200.0070.01019.39
7.3.190.0090.00916.61
7.3.180.0060.00916.29
7.3.170.0120.01216.33
7.3.160.0130.00316.71
7.3.120.0100.00314.67
7.3.110.0090.00914.91
7.3.100.0040.01114.91
7.3.90.0090.00615.26
7.3.80.0030.01014.79
7.3.70.0070.01114.75
7.3.60.0000.01214.78
7.3.50.0030.01014.77
7.3.40.0000.01415.03
7.3.30.0120.00414.83
7.3.20.0040.00816.64
7.3.10.0030.00816.87
7.3.00.0110.00416.80
7.2.330.0100.00616.73
7.2.320.0090.00916.76
7.2.310.0000.01716.60
7.2.300.0150.00416.75
7.2.290.0170.00616.43
7.2.250.0120.00914.98
7.2.240.0100.01015.21
7.2.230.0040.01115.01
7.2.220.0080.00815.14
7.2.210.0030.01314.97
7.2.200.0040.01215.15
7.2.190.0060.00614.97
7.2.180.0060.00915.21
7.2.170.0090.00915.13
7.1.330.0090.00615.83
7.1.320.0120.00015.84
7.1.310.0110.00316.12
7.1.300.0070.00415.78
7.1.290.0090.00316.08
7.1.280.0090.00315.93
7.1.270.0050.00515.91
7.1.260.0060.00915.84
7.1.200.0000.01216.03
7.1.70.0040.00417.41
7.1.60.0070.01819.40
7.1.50.0120.00017.24
7.1.00.0030.07322.46
7.0.200.0060.00615.20
7.0.140.0030.06722.00
7.0.60.0000.07319.78
7.0.50.0070.03717.77
7.0.40.0070.05720.10
7.0.30.0230.07720.11
7.0.20.0130.04320.20
7.0.10.0130.03320.14
7.0.00.0100.05720.07
5.6.280.0100.06721.13
5.6.210.0070.08320.70
5.6.200.0000.04718.08
5.6.190.0100.08020.45
5.6.180.3730.04020.57
5.6.170.0270.04320.41
5.6.160.0200.07720.38
5.6.150.0070.07318.15
5.6.140.0030.05018.09
5.6.130.0100.07018.09
5.6.120.0030.09021.14
5.6.110.0170.07721.11
5.6.100.0230.07721.12
5.6.90.0130.06721.12
5.6.80.0030.08020.40
5.5.350.4300.04020.32
5.5.340.0130.05717.96
5.5.330.0030.07320.16
5.5.320.0430.07020.28
5.5.310.0330.07320.23
5.5.300.0030.04017.98
5.5.290.0100.07717.98
5.5.280.0100.08020.76
5.5.270.0070.08320.88
5.5.260.0100.08720.76
5.5.250.0130.07720.61
5.5.240.0270.07320.07
5.4.450.0070.07319.27
5.4.440.0700.04319.41
5.4.430.0630.05019.57
5.4.420.0500.04019.45
5.4.410.0670.04719.41
5.4.400.0030.06718.93
5.4.390.0570.04718.90
5.4.380.0500.06718.53
5.4.370.0400.05018.48
5.4.360.0330.05718.74
5.4.350.0270.05718.68
5.4.340.0430.06318.57
5.4.320.0070.04112.45
5.4.310.0070.04712.45
5.4.300.0070.03412.45
5.4.290.0040.04112.45
5.4.280.0040.03712.34
5.4.270.0030.03912.35
5.4.260.0040.03812.34
5.4.250.0070.03612.34
5.4.240.0080.03612.35
5.4.230.0040.04112.34
5.4.220.0090.03712.34
5.4.210.0040.04012.34
5.4.200.0040.04212.34
5.4.190.0090.03312.33
5.4.180.0080.03312.34
5.4.170.0060.03512.35
5.4.160.0070.04212.34
5.4.150.0060.03612.34
5.4.140.0050.03712.02
5.4.130.0030.03812.01
5.4.120.0040.03711.96
5.4.110.0050.03511.96
5.4.100.0080.03311.96
5.4.90.0070.03511.96
5.4.80.0080.03811.96
5.4.70.0080.03611.96
5.4.60.0030.03711.96
5.4.50.0070.03311.96
5.4.40.0040.03511.95
5.4.30.0050.03811.95
5.4.20.0080.03111.95
5.4.10.0050.03511.95
5.4.00.0060.03511.44
5.3.290.0100.03612.80
5.3.280.0050.04412.71
5.3.270.0060.04012.73
5.3.260.0050.04112.72
5.3.250.0040.04112.72
5.3.240.0050.04012.72
5.3.230.0050.03912.71
5.3.220.0040.04012.68
5.3.210.0050.04312.68
5.3.200.0070.03712.68
5.3.190.0050.03712.68
5.3.180.0050.03612.67
5.3.170.0040.03912.67
5.3.160.0070.03612.68
5.3.150.0060.03812.67
5.3.140.0080.03412.66
5.3.130.0040.04012.66
5.3.120.0050.03912.65
5.3.110.0060.03812.65
5.3.100.0030.03912.12
5.3.90.0070.04312.09
5.3.80.0070.04012.07
5.3.70.0040.03712.08
5.3.60.0060.03512.06
5.3.50.0070.03812.00
5.3.40.0070.03712.00
5.3.30.0070.03611.95
5.3.20.0060.03911.73
5.3.10.0070.04511.70
5.3.00.0050.03511.68
5.2.170.0040.0319.19
5.2.160.0060.0289.19
5.2.150.0050.0309.19
5.2.140.0070.0319.19
5.2.130.0040.0339.14
5.2.120.0040.0329.14
5.2.110.0050.0289.15
5.2.100.0060.0329.15
5.2.90.0080.0359.15
5.2.80.0030.0369.14
5.2.70.0070.0309.14
5.2.60.0050.0319.09
5.2.50.0030.0309.07
5.2.40.0050.0289.05
5.2.30.0050.0299.02
5.2.20.0040.0299.03
5.2.10.0020.0328.94
5.2.00.0030.0348.79
5.1.60.0060.0228.08
5.1.50.0030.0308.07
5.1.40.0040.0338.06
5.1.30.0070.0248.41
5.1.20.0050.0268.43
5.1.10.0040.0348.16
5.1.00.0080.0288.15
5.0.50.0010.0276.63
5.0.40.0050.0186.49
5.0.30.0060.0306.30
5.0.20.0040.0226.27
5.0.10.0010.0226.25
5.0.00.0040.0296.24
4.4.90.0030.0154.78
4.4.80.0010.0174.75
4.4.70.0020.0214.75
4.4.60.0040.0184.75
4.4.50.0040.0244.77
4.4.40.0070.0204.71
4.4.30.0030.0184.76
4.4.20.0030.0184.84
4.4.10.0040.0164.85
4.4.00.0060.0294.76
4.3.110.0050.0194.66
4.3.100.0030.0194.67
4.3.90.0020.0154.64
4.3.80.0040.0284.59
4.3.70.0030.0204.63
4.3.60.0040.0184.63
4.3.50.0040.0144.63
4.3.40.0050.0274.54
4.3.30.0040.0133.30
4.3.20.0020.0163.28
4.3.10.0030.0193.21
4.3.00.0100.02015.63

preferences:
44.22 ms | 401 KiB | 5 Q