3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = preg_replace('\b(https?|ftp|file)://[-A-Z0-9+&@#/%?=~_|!:,.;]*[-A-Z0-9+&@#/%=~_|]', '', $string); $string = "Here is another funny site here we.Go to the"; echo "Cleaned: " . cleaner($url);

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.01416.88
8.3.50.0120.00322.74
8.3.40.0110.00418.71
8.3.30.0100.00719.05
8.3.20.0000.00720.07
8.3.10.0040.00423.57
8.3.00.0060.00319.51
8.2.180.0090.00618.41
8.2.170.0070.01322.96
8.2.160.0070.00720.47
8.2.150.0050.00224.18
8.2.140.0030.00524.66
8.2.130.0040.00426.16
8.2.120.0070.00021.06
8.2.110.0030.00622.11
8.2.100.0080.00419.64
8.2.90.0040.00419.11
8.2.80.0040.00417.97
8.2.70.0040.00417.25
8.2.60.0000.00917.91
8.2.50.0080.00018.07
8.2.40.0060.00618.09
8.2.30.0000.00718.10
8.2.20.0040.00417.72
8.2.10.0050.00318.00
8.2.00.0000.00717.64
8.1.280.0080.00825.92
8.1.270.0040.00423.84
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0030.00623.83
8.1.230.0040.00818.84
8.1.220.0060.00317.74
8.1.210.0040.00418.77
8.1.200.0060.00317.35
8.1.190.0000.00817.25
8.1.180.0000.00818.10
8.1.170.0090.00018.54
8.1.160.0000.00721.85
8.1.150.0060.00318.81
8.1.140.0040.00417.35
8.1.130.0030.00317.76
8.1.120.0000.00717.40
8.1.110.0000.00717.27
8.1.100.0000.00717.42
8.1.90.0050.00317.35
8.1.80.0000.00717.38
8.1.70.0000.00717.23
8.1.60.0040.00417.50
8.1.50.0030.00517.48
8.1.40.0000.00817.43
8.1.30.0000.00817.60
8.1.20.0070.00017.60
8.1.10.0040.00417.60
8.1.00.0070.00017.56
8.0.300.0000.00818.77
8.0.290.0040.00416.75
8.0.280.0030.00318.41
8.0.270.0000.00817.12
8.0.260.0050.00217.15
8.0.250.0050.00216.94
8.0.240.0040.00416.85
8.0.230.0000.00816.81
8.0.220.0050.00216.87
8.0.210.0040.00416.87
8.0.200.0060.00016.95
8.0.190.0040.00416.82
8.0.180.0040.00416.80
8.0.170.0040.00416.81
8.0.160.0020.00516.88
8.0.150.0000.00716.79
8.0.140.0000.00716.86
8.0.130.0030.00313.29
8.0.120.0040.00416.91
8.0.110.0040.00416.96
8.0.100.0000.00716.77
8.0.90.0040.00416.91
8.0.80.0060.00916.94
8.0.70.0040.00416.88
8.0.60.0000.00816.76
8.0.50.0040.00416.87
8.0.30.0130.00817.05
8.0.20.0150.00317.40
8.0.10.0000.00717.04
8.0.00.0070.01316.66
7.4.330.0050.00015.00
7.4.320.0050.00216.43
7.4.300.0030.00316.52
7.4.290.0030.00316.56
7.4.280.0070.00016.60
7.4.270.0040.00416.50
7.4.260.0000.00716.53
7.4.250.0040.00416.51
7.4.240.0020.00516.54
7.4.230.0070.00016.39
7.4.220.0090.01216.55
7.4.210.0030.01016.66
7.4.200.0030.00316.67
7.4.160.0110.01116.52
7.4.150.0120.00617.40
7.4.140.0050.01217.86
7.4.130.0070.00916.44
7.4.120.0120.00616.53
7.4.110.0130.00316.76
7.4.100.0070.01416.35
7.4.90.0100.00716.41
7.4.80.0170.00719.39
7.4.70.0090.00916.56
7.4.60.0120.00616.66
7.4.50.0030.00616.45
7.4.40.0030.01416.51
7.4.30.0180.00316.60
7.4.00.0070.00714.64
7.3.330.0000.00613.09
7.3.320.0000.00613.00
7.3.310.0030.00316.11
7.3.300.0000.00716.09
7.3.290.0060.00916.21
7.3.280.0100.01016.27
7.3.270.0120.00817.40
7.3.260.0180.00016.21
7.3.250.0060.01416.32
7.3.240.0030.01716.21
7.3.230.0190.00316.39
7.3.210.0140.00416.37
7.3.200.0150.00619.39
7.3.190.0060.01016.58
7.3.180.0130.00316.50
7.3.170.0070.01516.59
7.3.160.0060.01016.48
7.2.330.0120.01316.39
7.2.320.0060.01316.45
7.2.310.0060.01016.46
7.2.300.0040.01216.17
7.2.290.0090.00616.39
7.2.60.0070.00716.85
7.2.00.0030.01019.53
7.1.200.0100.00615.90
7.1.100.0000.00818.23
7.1.70.0000.00916.98
7.1.60.0060.01519.40
7.1.50.0100.00616.97
7.1.00.0000.08022.36
7.0.200.0000.00816.83
7.0.140.0000.07722.00
7.0.60.0000.08020.03
7.0.50.0070.08317.80
7.0.40.0030.05720.08
7.0.30.0430.07720.17
7.0.20.0270.06720.20
7.0.10.0030.08320.13
7.0.00.0070.08020.19
5.6.280.0170.06321.12
5.6.210.0000.05720.64
5.6.200.0100.04718.22
5.6.190.0100.08020.43
5.6.180.0270.07320.48
5.6.170.0200.03720.71
5.6.160.0070.05720.55
5.6.150.0100.08018.12
5.6.140.0070.08018.21
5.6.130.0070.05018.09
5.6.120.0070.04021.00
5.6.110.0030.04321.00
5.6.100.0230.06720.99
5.6.90.0100.08321.12
5.6.80.0170.07320.39
5.5.350.0230.07720.46
5.5.340.0030.05017.89
5.5.330.0100.07020.21
5.5.320.0170.06020.20
5.5.310.0300.04720.31
5.5.300.0070.08017.90
5.5.290.0130.03017.91
5.5.280.0070.08720.66
5.5.270.0100.08320.88
5.5.260.0000.04720.88
5.5.250.0100.08020.57
5.5.240.0030.03020.25
5.4.450.1070.06719.50
5.4.440.0670.06319.54
5.4.430.0630.06019.30
5.4.420.1000.05019.38
5.4.410.0800.05719.09
5.4.400.0870.05018.80
5.4.390.0600.05319.10
5.4.380.0170.05018.66
5.4.370.0070.04318.49
5.4.360.0200.04018.75
5.4.350.0280.10411.97
5.4.340.0070.03711.97
5.4.320.0050.03712.45
5.4.310.0060.03712.45
5.4.300.0060.03612.45
5.4.290.0030.04012.45
5.4.280.0050.03512.34
5.4.270.0070.03512.34
5.4.260.0060.03712.35
5.4.250.0070.03612.34
5.4.240.0050.03612.35
5.4.230.0030.04012.34
5.4.220.0070.03512.34
5.4.210.0060.03512.34
5.4.200.0050.03812.34
5.4.190.0060.03512.33
5.4.180.0070.03412.33
5.4.170.0050.03512.34
5.4.160.0060.03612.34
5.4.150.0060.03512.34
5.4.140.0010.04112.02
5.4.130.0040.03712.01
5.4.120.0050.03511.96
5.4.110.0040.03611.96
5.4.100.0040.03711.96
5.4.90.0030.03911.96
5.4.80.0110.03211.96
5.4.70.0040.03611.96
5.4.60.0040.03611.96
5.4.50.0060.03511.96
5.4.40.0050.03611.95
5.4.30.0060.03511.95
5.4.20.0080.03211.95
5.4.10.0050.03511.95
5.4.00.0040.03711.44
5.3.290.0050.03912.80
5.3.280.0040.03812.70
5.3.270.0080.04212.72
5.3.260.0060.04412.72
5.3.250.0040.03912.71
5.3.240.0060.03812.72
5.3.230.0060.03712.71
5.3.220.0070.03712.68
5.3.210.0060.03912.68
5.3.200.0080.03412.68
5.3.190.0090.03412.68
5.3.180.0040.03712.67
5.3.170.0090.03412.67
5.3.160.0110.03912.67
5.3.150.0090.04512.67
5.3.140.0080.04712.66
5.3.130.0040.04212.66
5.3.120.0080.04012.66
5.3.110.0100.03712.66
5.3.100.0070.03612.12
5.3.90.0050.04312.09
5.3.80.0060.03812.07
5.3.70.0080.03512.08
5.3.60.0030.04012.06
5.3.50.0050.03712.00
5.3.40.0070.03512.00
5.3.30.0070.03611.94
5.3.20.0060.03711.73
5.3.10.0040.03911.70
5.3.00.0040.04611.68
5.2.170.0030.0329.18
5.2.160.0040.0309.18
5.2.150.0060.0299.18
5.2.140.0010.0369.18
5.2.130.0080.0269.14
5.2.120.0050.0279.14
5.2.110.0040.0299.15
5.2.100.0030.0299.14
5.2.90.0050.0339.14
5.2.80.0050.0309.14
5.2.70.0030.0329.13
5.2.60.0030.0339.09
5.2.50.0040.0319.06
5.2.40.0040.0299.04
5.2.30.0040.0319.01
5.2.20.0030.0329.00
5.2.10.0070.0258.92
5.2.00.0030.0308.78
5.1.60.0050.0228.06
5.1.50.0070.0228.06
5.1.40.0040.0248.04
5.1.30.0040.0268.39
5.1.20.0050.0298.42
5.1.10.0030.0278.14
5.1.00.0060.0248.14
5.0.50.0000.0246.62
5.0.40.0030.0196.47
5.0.30.0030.0316.29
5.0.20.0040.0196.26
5.0.10.0030.0216.24
5.0.00.0020.0316.23
4.4.90.0030.0144.78
4.4.80.0010.0174.75
4.4.70.0060.0144.75
4.4.60.0020.0174.75
4.4.50.0030.0154.77
4.4.40.0030.0284.71
4.4.30.0030.0154.76
4.4.20.0060.0124.84
4.4.10.0010.0184.85
4.4.00.0030.0254.75
4.3.110.0030.0154.67
4.3.100.0040.0134.66
4.3.90.0000.0174.64
4.3.80.0040.0234.58
4.3.70.0010.0164.63
4.3.60.0000.0184.63
4.3.50.0020.0164.63
4.3.40.0040.0234.54
4.3.30.0010.0173.28
4.3.20.0010.0173.25
4.3.10.0020.0153.22
4.3.00.0170.0207.12

preferences:
45.54 ms | 401 KiB | 5 Q