3v4l.org

run code in 300+ PHP versions simultaneously
<?php $re = '/\bhttps?:\S+\.html?\b/m'; $str = 'Powerbank for videocamera Canon NB-5L: https://www.esseshop.it/caricabatterie-universale-da-auto-rete-fotocamera-videocamera-p-4452.html Powerbank for videocamera Canon NB-5L: https://www.esseshop.it/caricabatterie-universale-da-auto-rete-fotocamera-videocamera-p-4452.htm Powerbank for videocamera Canon NB-5L: http://www.esseshop.it/caricabatterie-universale-da-auto-rete-fotocamera-videocamera-p-4452.php'; $subst = ''; $result = preg_replace($re, $subst, $str); echo $result;

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.4.120.0100.01020.74
8.4.110.0100.01018.72
8.4.100.0160.00517.69
8.4.90.0120.01018.72
8.4.80.0130.00619.70
8.4.70.0100.01117.63
8.4.60.0090.01218.62
8.4.50.0130.00718.12
8.4.40.0130.00619.63
8.4.30.0130.00620.52
8.4.20.0030.01720.33
8.4.10.0100.00619.57
8.3.250.0150.00418.81
8.3.240.0120.00716.95
8.3.230.0140.00916.79
8.3.220.0130.00617.25
8.3.210.0080.01016.61
8.3.200.0100.00916.39
8.3.190.0080.00817.11
8.3.180.0080.00717.08
8.3.170.0070.01118.58
8.3.160.0040.00418.42
8.3.150.0140.00717.07
8.3.140.0040.00416.50
8.3.130.0080.00018.52
8.3.120.0000.00818.75
8.3.110.0130.00720.94
8.3.100.0030.00724.06
8.3.90.0000.00826.77
8.3.80.0070.00317.97
8.3.70.0130.00316.38
8.3.60.0070.01418.28
8.3.50.0080.01017.29
8.3.40.0110.00718.92
8.3.30.0110.00718.81
8.3.20.0040.00421.89
8.3.10.0000.00820.54
8.3.00.0040.00419.51
8.2.290.0060.00420.58
8.2.280.0150.00518.38
8.2.270.0090.00917.00
8.2.260.0100.00019.01
8.2.250.0070.01116.46
8.2.240.0090.00019.00
8.2.230.0060.00322.58
8.2.220.0000.01037.54
8.2.210.0120.00326.77
8.2.200.0070.00318.41
8.2.190.0130.00316.75
8.2.180.0100.01018.66
8.2.170.0100.00722.96
8.2.160.0040.01119.31
8.2.150.0070.01024.18
8.2.140.0100.00724.66
8.2.130.0040.00426.16
8.2.120.0040.00419.36
8.2.110.0060.00320.45
8.2.100.0110.00017.97
8.2.90.0050.00317.75
8.2.80.0000.00817.97
8.2.70.0030.00617.75
8.2.60.0050.00318.22
8.2.50.0030.00619.48
8.2.40.0000.00719.44
8.2.30.0040.00419.19
8.2.20.0030.00318.05
8.2.10.0000.00719.50
8.2.00.0050.00318.05
8.1.330.0150.00621.76
8.1.320.0120.00716.12
8.1.310.0120.00616.64
8.1.300.0090.00019.85
8.1.290.0030.00630.84
8.1.280.0180.00325.92
8.1.270.0140.00320.37
8.1.260.0000.00826.35
8.1.250.0000.00828.09
8.1.240.0040.00423.97
8.1.230.0100.00619.15
8.1.220.0070.00317.74
8.1.210.0050.00318.77
8.1.200.0000.01017.35
8.1.190.0000.00817.35
8.1.180.0030.00618.10
8.1.170.0000.00818.72
8.1.160.0080.00018.89
8.1.150.0000.00718.74
8.1.140.0070.00020.18
8.1.130.0000.00720.29
8.1.120.0040.00417.55
8.1.110.0000.00717.53
8.1.100.0040.00417.54
8.1.90.0040.00417.50
8.1.80.0040.00417.53
8.1.70.0070.00017.36
8.1.60.0060.00317.56
8.1.50.0040.00417.62
8.1.40.0050.00317.61
8.1.30.0000.00717.73
8.1.20.0030.00917.73
8.1.10.0040.00417.59
8.1.00.0050.00317.60
8.0.300.0060.00318.77
8.0.290.0040.00416.75
8.0.280.0070.00018.37
8.0.270.0050.00317.26
8.0.260.0000.00618.38
8.0.250.0000.00717.07
8.0.240.0070.00017.07
8.0.230.0050.00316.92
8.0.220.0030.00316.85
8.0.210.0070.00016.85
8.0.200.0000.00617.04
8.0.190.0090.00016.93
8.0.180.0030.00516.98
8.0.170.0030.00616.99
8.0.160.0030.00316.98
8.0.150.0000.00716.81
8.0.140.0030.00616.87
8.0.130.0060.00013.36
8.0.120.0000.00816.90
8.0.110.0050.00216.81
8.0.100.0040.00416.91
8.0.90.0040.00416.95
8.0.80.0070.00916.86
8.0.70.0040.00417.04
8.0.60.0050.00216.79
8.0.50.0030.00516.99
8.0.30.0110.00717.21
8.0.20.0030.01617.40
8.0.10.0040.00416.93
8.0.00.0090.00816.87
7.4.330.0030.00315.55
7.4.320.0060.00316.56
7.4.300.0030.00316.53
7.4.290.0070.00016.72
7.4.280.0040.00416.55
7.4.270.0030.00516.55
7.4.260.0030.00616.61
7.4.250.0000.00716.70
7.4.240.0030.00316.65
7.4.230.0040.00416.62
7.4.220.0050.00316.85
7.4.210.0070.00916.69
7.4.200.0070.00016.63
7.4.160.0070.01016.68
7.4.140.0150.00917.86
7.4.130.0090.00916.73
7.4.120.0130.00316.63
7.4.110.0070.01416.64
7.4.100.0100.00916.70
7.4.90.0090.00916.63
7.4.80.0160.00319.39
7.4.70.0120.00916.61
7.4.60.0030.01916.76
7.4.50.0000.01316.59
7.4.40.0070.01016.57
7.4.00.0020.01315.05
7.3.330.0000.00513.25
7.3.320.0060.00013.06
7.3.310.0030.00316.41
7.3.300.0000.00716.33
7.3.290.0040.01116.33
7.3.280.0130.00816.30
7.3.260.0080.01416.52
7.3.240.0080.01016.61
7.3.230.0100.01016.61
7.3.210.0100.00716.30
7.3.200.0130.00316.52
7.3.190.0140.00316.46
7.3.180.0100.00716.71
7.3.170.0070.01816.41
7.3.160.0070.01016.40
7.3.120.0100.00714.75
7.3.110.0070.01114.78
7.3.100.0070.00714.84
7.3.90.0070.00715.16
7.3.80.0100.00714.82
7.3.70.0110.00714.88
7.3.60.0150.00014.97
7.3.50.0070.00714.99
7.3.40.0070.00714.97
7.3.30.0070.00715.06
7.3.20.0810.00715.65
7.3.10.0990.00615.71
7.3.00.0840.01115.72
7.2.330.0110.00816.55
7.2.320.0130.01016.61
7.2.310.0080.00816.53
7.2.300.0100.01016.68
7.2.290.0070.01016.81
7.2.250.0030.01615.16
7.2.240.0060.01214.98
7.2.230.0120.00615.19
7.2.220.0070.00715.12
7.2.210.0000.01215.15
7.2.200.0030.00914.95
7.2.190.0090.00615.18
7.2.180.0040.01115.29
7.2.170.0070.00315.20
7.2.150.2160.01715.15
7.2.140.1780.01015.16
7.2.130.1550.00715.05
7.2.120.1760.01015.15
7.2.110.2130.01014.80
7.2.100.1820.00714.85
7.2.90.2090.01014.89
7.2.80.3660.00715.18
7.2.70.3870.01015.12
7.2.60.4010.01015.23
7.2.50.3500.00715.02
7.2.40.3080.00314.88
7.2.30.3340.01015.02
7.2.20.3860.01314.98
7.2.10.3630.01015.15
7.2.00.2140.00715.02
7.1.330.0000.01415.88
7.1.320.0080.00015.73
7.1.310.0040.01115.89
7.1.300.0060.01015.86
7.1.290.0070.00715.84
7.1.280.0090.00016.19
7.1.270.0130.00315.55
7.1.260.0070.01015.72
7.1.250.1950.00313.89

preferences:
27.82 ms | 403 KiB | 5 Q