3v4l.org

run code in 300+ PHP versions simultaneously
<?php $urlRegex = '#(^|\\b)https?:\/\/[\w.?;:\)\)"=&_/\#@]+#'; $text = 'example url [http://223.255.255.254] blabhablha'; $text = preg_replace($urlRegex, '', $text); print("text is $text \n");

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.0110.01118.56
8.3.50.0140.00921.92
8.3.40.0070.01419.01
8.3.30.0070.00718.70
8.3.20.0040.00420.19
8.3.10.0030.00521.86
8.3.00.0040.00420.36
8.2.180.0120.00616.38
8.2.170.0090.00622.96
8.2.160.0030.01220.98
8.2.150.0040.00724.18
8.2.140.0050.00324.66
8.2.130.0080.00026.16
8.2.120.0090.00017.50
8.2.110.0030.00619.04
8.2.100.0120.00017.75
8.2.90.0000.00819.17
8.2.80.0030.00517.97
8.2.70.0000.01017.75
8.2.60.0060.00617.93
8.2.50.0030.00618.07
8.2.40.0000.00819.53
8.2.30.0070.00020.69
8.2.20.0000.00817.82
8.2.10.0040.00418.09
8.2.00.0040.00418.00
8.1.280.0070.00725.92
8.1.270.0040.00423.82
8.1.260.0090.00626.35
8.1.250.0020.00528.09
8.1.240.0060.00322.47
8.1.230.0120.00017.48
8.1.220.0040.00417.79
8.1.210.0000.00818.77
8.1.200.0000.00817.35
8.1.190.0000.00817.23
8.1.180.0040.00418.10
8.1.170.0080.00018.42
8.1.160.0040.00421.95
8.1.150.0040.00418.83
8.1.140.0040.00417.59
8.1.130.0050.00317.65
8.1.120.0000.00717.46
8.1.110.0050.00217.42
8.1.100.0070.00017.54
8.1.90.0070.00017.43
8.1.80.0000.00817.55
8.1.70.0030.00317.51
8.1.60.0030.00617.66
8.1.50.0030.00517.61
8.1.40.0030.00717.48
8.1.30.0060.00317.78
8.1.20.0040.00417.75
8.1.10.0050.00317.64
8.1.00.0040.00417.58
8.0.300.0040.00418.77
8.0.290.0040.00417.00
8.0.280.0000.00718.45
8.0.270.0000.00817.20
8.0.260.0060.00317.27
8.0.250.0000.00717.12
8.0.240.0070.00017.11
8.0.230.0000.00717.01
8.0.220.0100.00016.93
8.0.210.0040.00416.94
8.0.200.0070.00017.00
8.0.190.0000.00717.10
8.0.180.0040.00717.09
8.0.170.0040.00416.94
8.0.160.0000.00717.13
8.0.150.0040.00416.95
8.0.140.0020.00516.91
8.0.130.0030.00313.46
8.0.120.0050.00316.94
8.0.110.0000.00716.92
8.0.100.0000.00817.11
8.0.90.0040.00416.88
8.0.80.0060.01016.97
8.0.70.0000.00716.88
8.0.60.0000.00716.90
8.0.50.0030.00517.02
8.0.30.0110.00817.11
8.0.20.0110.00817.44
8.0.10.0050.00317.12
8.0.00.0090.00916.87
7.4.330.0000.00615.08
7.4.320.0040.00416.57
7.4.300.0070.00016.53
7.4.290.0030.00316.55
7.4.280.0040.00416.78
7.4.270.0070.00016.66
7.4.260.0000.00716.58
7.4.250.0030.00316.66
7.4.240.0070.00016.66
7.4.230.0000.00716.86
7.4.220.0070.01716.79
7.4.210.0050.01016.81
7.4.200.0030.00316.77
7.4.160.0100.00616.79
7.4.150.0100.01017.40
7.4.140.0120.00617.86
7.4.130.0060.01316.68
7.4.120.0090.01016.73
7.4.110.0100.00716.48
7.4.100.0130.01016.61
7.4.90.0090.00816.73
7.4.80.0130.01019.39
7.4.70.0100.00716.66
7.4.60.0100.00716.82
7.4.50.0000.00416.42
7.4.40.0090.00616.66
7.4.30.0070.01716.48
7.4.00.0140.00315.27
7.3.330.0030.00313.15
7.3.320.0070.00013.04
7.3.310.0000.00716.41
7.3.300.0030.00316.34
7.3.290.0050.00816.32
7.3.280.0060.01016.33
7.3.270.0090.01017.40
7.3.260.0080.00816.70
7.3.250.0100.00716.48
7.3.240.0140.00616.71
7.3.230.0100.00716.46
7.3.210.0090.00916.41
7.3.200.0080.00816.41
7.3.190.0090.00916.66
7.3.180.0120.00316.36
7.3.170.0190.00616.78
7.3.160.0160.00016.61
7.2.330.0040.01316.58
7.2.320.0090.01216.85
7.2.310.0110.00816.69
7.2.300.0070.01116.85
7.2.290.0090.00916.82
7.2.00.0060.01219.43
7.1.200.0030.00915.75
7.1.100.0000.01518.31
7.1.70.0040.00417.36
7.1.60.0070.01719.11
7.1.50.0040.01817.13
7.1.00.0100.06722.53
7.0.200.0000.01016.93
7.0.60.0030.06719.92
7.0.50.0070.08317.82
7.0.40.0070.05720.30
7.0.30.0500.06320.02
7.0.20.0230.07720.14
7.0.10.0230.08020.01
7.0.00.0100.08320.34
5.6.280.0030.06320.90
5.6.210.0100.07720.46
5.6.200.0000.08018.13
5.6.190.0070.08020.58
5.6.180.0300.07720.61
5.6.170.0130.04320.54
5.6.160.0070.05720.48
5.6.150.0100.07718.11
5.6.140.0000.04718.11
5.6.130.0030.05718.18
5.6.120.0030.04021.01
5.6.110.0130.06321.02
5.6.100.0130.06020.99
5.6.90.0130.07721.07
5.6.80.0000.04320.36
5.6.70.0330.07320.53
5.5.350.0130.03320.38
5.5.340.0070.07018.05
5.5.330.0200.07020.41
5.5.320.0030.05320.36
5.5.310.0270.06320.29
5.5.300.0030.04017.96
5.5.290.0070.08017.91
5.5.280.0000.04320.75
5.5.270.0130.07320.96
5.5.260.0130.07720.66
5.5.250.0100.07720.68
5.5.240.0130.07320.16
5.4.450.0830.05319.24
5.4.440.0970.05719.14
5.4.430.1030.05319.47
5.4.420.0870.07319.54
5.4.410.0870.05019.50
5.4.400.0770.06019.14
5.4.390.1070.05319.25
5.4.380.1200.05019.09
5.4.370.1130.05019.14
5.4.360.1170.07719.12
5.4.350.0800.05318.83
5.4.340.0870.06319.15
5.4.320.1000.07319.14
5.4.310.1030.05719.29
5.4.300.1030.06319.28
5.4.290.1030.05718.96
5.4.280.1070.05719.25
5.4.270.1030.05019.16
5.4.260.1030.04719.21
5.4.250.1070.05018.80
5.4.240.1070.04719.25
5.4.230.1100.04719.30
5.4.220.1070.04719.29
5.4.210.1100.04019.15
5.4.200.1000.05319.30
5.4.190.1200.06719.14
5.4.180.1070.05019.25
5.4.170.0870.06018.77
5.4.160.1170.05318.79
5.4.150.1030.05319.25
5.4.140.1000.05016.48
5.4.130.0970.05316.59
5.4.120.1100.04316.34
5.4.110.0970.06016.37
5.4.100.0970.05016.48
5.4.90.0930.05316.52
5.4.80.1100.03716.52
5.4.70.0030.04716.37
5.4.60.0000.04016.47
5.4.50.0070.07016.19
5.4.40.0030.03316.37
5.4.30.0270.07016.43
5.4.20.0230.03716.31
5.4.10.0170.04716.43

preferences:
49.27 ms | 401 KiB | 5 Q