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.0100.01018.68
8.3.50.0100.00821.96
8.3.40.0140.00718.75
8.3.30.0040.01119.00
8.3.20.0050.00320.20
8.3.10.0050.00321.73
8.3.00.0060.00320.34
8.2.180.0100.01016.88
8.2.170.0140.00722.96
8.2.160.0040.01121.12
8.2.150.0070.00324.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0040.00417.50
8.2.110.0090.00019.27
8.2.100.0090.00317.63
8.2.90.0030.00519.13
8.2.80.0040.00417.97
8.2.70.0070.00317.88
8.2.60.0100.00017.93
8.2.50.0000.00918.07
8.2.40.0040.00419.21
8.2.30.0000.00720.55
8.2.20.0080.00017.78
8.2.10.0040.00418.22
8.2.00.0020.00518.13
8.1.280.0120.00325.92
8.1.270.0040.00423.88
8.1.260.0120.00326.35
8.1.250.0140.00028.09
8.1.240.0060.00322.72
8.1.230.0070.00417.48
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0060.00317.34
8.1.190.0000.00917.35
8.1.180.0080.00018.10
8.1.170.0090.00018.71
8.1.160.0070.00022.05
8.1.150.0030.00518.82
8.1.140.0040.00417.53
8.1.130.0030.00317.58
8.1.120.0000.00717.45
8.1.110.0000.00817.55
8.1.100.0040.00417.45
8.1.90.0040.00417.48
8.1.80.0050.00317.42
8.1.70.0000.00817.49
8.1.60.0050.00317.59
8.1.50.0040.00417.56
8.1.40.0060.00317.57
8.1.30.0060.00317.69
8.1.20.0030.00617.59
8.1.10.0060.00317.65
8.1.00.0000.00817.60
8.0.300.0040.00418.77
8.0.290.0070.00016.75
8.0.280.0000.00718.46
8.0.270.0050.00517.27
8.0.260.0000.00817.27
8.0.250.0000.00717.11
8.0.240.0000.00717.11
8.0.230.0070.00017.10
8.0.220.0050.00317.00
8.0.210.0030.00317.02
8.0.200.0060.00017.02
8.0.190.0000.00717.00
8.0.180.0040.00817.11
8.0.170.0090.00016.96
8.0.160.0050.00317.11
8.0.150.0070.00016.86
8.0.140.0070.00017.05
8.0.130.0000.00613.49
8.0.120.0050.00216.91
8.0.110.0040.00417.02
8.0.100.0000.00816.91
8.0.90.0040.00417.05
8.0.80.0070.01117.01
8.0.70.0040.00417.01
8.0.60.0000.00716.89
8.0.50.0000.00717.05
8.0.30.0130.01917.15
8.0.20.0130.00817.40
8.0.10.0070.00017.18
8.0.00.0090.00916.96
7.4.330.0070.00015.08
7.4.320.0000.00616.75
7.4.300.0000.00716.64
7.4.290.0000.00716.69
7.4.280.0000.00716.59
7.4.270.0080.00016.76
7.4.260.0030.00316.64
7.4.250.0050.00316.54
7.4.240.0030.00416.67
7.4.230.0070.00016.81
7.4.220.0090.01016.80
7.4.210.0090.00916.81
7.4.200.0000.00716.65
7.4.150.0190.00317.40
7.4.140.0070.01717.86
7.4.130.0090.00916.70
7.4.120.0080.00916.63
7.4.110.0120.00616.53
7.4.100.0040.01516.63
7.4.90.0030.01316.57
7.4.80.0100.01019.39
7.4.70.0090.01416.73
7.4.60.0090.00916.52
7.4.50.0000.00416.52
7.4.40.0080.00816.59
7.4.30.0060.01216.68
7.4.00.0090.00714.98
7.3.330.0050.00013.03
7.3.320.0030.00313.15
7.3.310.0000.00816.28
7.3.300.0000.00716.34
7.3.290.0090.00816.36
7.3.280.0110.00716.40
7.3.270.0090.00917.40
7.3.260.0040.01316.50
7.3.250.0090.00716.40
7.3.240.0130.00616.53
7.3.230.0030.01516.39
7.3.210.0140.00316.37
7.3.200.0080.00816.42
7.3.190.0100.00616.35
7.3.180.0060.01016.47
7.3.170.0130.01016.54
7.3.160.0060.01016.36
7.3.120.0090.00914.68
7.3.110.0060.01315.14
7.3.100.0000.01215.04
7.3.90.0070.00315.17
7.3.80.0070.00714.66
7.3.70.0060.00914.98
7.3.60.0070.01014.69
7.3.50.0070.00314.71
7.3.40.0080.00614.95
7.3.30.0000.01415.03
7.3.20.0060.00616.69
7.3.10.0120.00316.70
7.3.00.0030.00816.82
7.2.330.0150.00716.82
7.2.320.0120.00616.79
7.2.310.0130.00316.70
7.2.300.0070.01016.83
7.2.290.0080.00816.81
7.2.250.0000.02015.21
7.2.240.0120.00615.20
7.2.230.0060.01015.03
7.2.220.0080.00815.00
7.2.210.0040.01115.30
7.2.200.0120.00315.12
7.2.190.0120.00615.21
7.2.180.0040.01115.27
7.2.170.0030.01015.31
7.2.00.0110.00819.41
7.1.330.0100.00715.97
7.1.320.0030.01016.01
7.1.310.0060.00915.84
7.1.300.0030.00716.14
7.1.290.0100.00015.83
7.1.280.0000.00815.91
7.1.270.0000.01116.00
7.1.260.0090.00015.88
7.1.200.0090.00315.97
7.1.100.0080.00318.31
7.1.70.0030.00717.40
7.1.60.0060.01519.11
7.1.50.0040.01817.24
7.1.00.0030.07722.44
7.0.200.0000.01016.59
7.0.60.0130.06319.89
7.0.50.0030.08017.79
7.0.40.0130.06719.92
7.0.30.0170.04320.28
7.0.20.0130.07320.19
7.0.10.0270.07720.22
7.0.00.0130.08020.18
5.6.280.0100.06321.11
5.6.210.0100.06320.50
5.6.200.0030.04718.12
5.6.190.0130.07720.45
5.6.180.0300.07720.38
5.6.170.0270.07320.38
5.6.160.0070.08720.41
5.6.150.0130.05318.12
5.6.140.0030.08018.18
5.6.130.0100.07018.22
5.6.120.0170.08320.98
5.6.110.0100.06321.12
5.6.100.0070.04320.98
5.6.90.0170.08021.09
5.6.80.0100.05720.37
5.6.70.0200.07320.39
5.5.350.0230.07720.43
5.5.340.0130.06717.93
5.5.330.0170.07320.23
5.5.320.0000.08320.23
5.5.310.0330.06720.41
5.5.300.0030.08317.98
5.5.290.0070.04717.98
5.5.280.0030.05320.76
5.5.270.0100.08020.87
5.5.260.0130.08020.72
5.5.250.0030.04320.56
5.5.240.0070.08020.15
5.4.450.0730.06719.54
5.4.440.0930.05719.10
5.4.430.0770.05719.59
5.4.420.0800.05319.48
5.4.410.1130.05319.34
5.4.400.1100.06319.33
5.4.390.0900.07018.81
5.4.380.0870.05318.98
5.4.370.0730.06019.31
5.4.360.0830.04719.31
5.4.350.1070.05019.13
5.4.340.1070.04719.22
5.4.320.1030.05719.26
5.4.310.1030.04319.14
5.4.300.0930.06019.14
5.4.290.0930.05719.28
5.4.280.1000.05018.77
5.4.270.0970.05318.91
5.4.260.0870.05019.14
5.4.250.0870.05019.14
5.4.240.0700.05719.21
5.4.230.0770.05019.27
5.4.220.0730.05718.94
5.4.210.0700.05718.94
5.4.200.0900.03719.30
5.4.190.1170.03319.21
5.4.180.0700.06019.15
5.4.170.0730.05719.14
5.4.160.0700.05719.12
5.4.150.0730.05319.06
5.4.140.0700.05316.61
5.4.130.0730.04716.39
5.4.120.0770.04716.22
5.4.110.0830.04716.56
5.4.100.1070.06016.48
5.4.90.1000.05016.21
5.4.80.0970.05716.35
5.4.70.0030.04716.21
5.4.60.0030.05716.41
5.4.50.0000.05016.18
5.4.40.0000.04016.31
5.4.30.0130.04016.27
5.4.20.0300.06316.36
5.4.10.0370.05716.33

preferences:
54.23 ms | 401 KiB | 5 Q