3v4l.org

run code in 500+ PHP versions simultaneously
<?php $str = " apply here https://ph.dbsd.com/job/dfvdfg/5444 and www.google.com also http://somesite.net "; $url_regex = "/\b((https?:\/\/?|www\.)[^\s()<>]+(?:\([\w\d]+\)|([^[:punct:]\s]|\/)))/"; preg_match_all($url_regex, $str, $matches); foreach($matches[0] as $match){ $anchor = "<a href='$match'>$match</a>"; $str = str_replace($match, $anchor, $str); } echo $str; var_dump($matches);

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.5.60.0050.00316.87
8.5.50.0050.00216.78
8.5.30.0090.00919.90
8.5.20.0110.00620.03
8.5.10.0120.00518.57
8.5.00.0130.00820.36
8.4.210.0120.01321.64
8.4.180.0170.00619.91
8.4.170.0190.00623.93
8.4.160.0130.01123.25
8.4.150.0090.00416.91
8.4.140.0130.01118.02
8.4.130.0130.00818.09
8.4.120.0140.00722.50
8.4.110.0100.00722.73
8.4.100.0110.00918.22
8.4.90.0100.01118.69
8.4.80.0060.00417.82
8.4.70.0050.00718.03
8.4.60.0110.01018.91
8.4.50.0130.00419.69
8.4.40.0070.01419.54
8.4.30.0000.02120.27
8.4.20.0030.00618.25
8.4.10.0180.00418.48
8.3.300.0060.00718.61
8.3.290.0110.00920.98
8.3.280.0140.00618.54
8.3.270.0110.00816.65
8.3.260.0120.00716.49
8.3.250.0100.00718.91
8.3.240.0100.00916.52
8.3.230.0140.00516.86
8.3.220.0120.00817.02
8.3.210.0120.00716.78
8.3.200.0030.00616.71
8.3.190.0150.00617.19
8.3.180.0100.00920.62
8.3.170.0070.01116.54
8.3.160.0060.01219.00
8.3.150.0040.01118.91
8.3.140.0140.00417.26
8.3.130.0040.00418.48
8.3.120.0000.00820.64
8.3.110.0060.00318.45
8.3.100.0160.00016.66
8.3.90.0040.00426.77
8.3.80.0060.00316.75
8.3.70.0070.00716.58
8.3.60.0040.01118.28
8.3.50.0130.00320.16
8.3.40.0040.01418.97
8.3.30.0080.00819.17
8.3.20.0040.00424.18
8.3.10.0060.00324.66
8.3.00.0040.00426.16
8.2.300.0110.00920.46
8.2.290.0070.00420.64
8.2.280.0060.00218.71
8.2.270.0050.01016.49
8.2.260.0040.00417.22
8.2.250.0060.00916.64
8.2.240.0100.01017.43
8.2.230.0100.01020.94
8.2.220.0040.00424.06
8.2.210.0090.00026.77
8.2.200.0030.00616.38
8.2.190.0150.00016.75
8.2.180.0100.01025.92
8.2.170.0040.01118.91
8.2.160.0040.01122.96
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0140.00426.16
8.2.120.0090.00626.16
8.2.110.0060.00322.31
8.2.100.0130.00018.03
8.2.90.0080.00317.75
8.2.80.0080.00019.09
8.2.70.0040.00417.88
8.2.60.0040.00418.05
8.2.50.0040.00417.98
8.2.40.0080.00017.97
8.2.30.0000.00918.03
8.2.20.0030.00622.14
8.2.10.0040.00417.79
8.2.00.0060.00319.05
8.1.340.0080.01317.84
8.1.330.0120.00721.94
8.1.320.0080.00216.61
8.1.310.0130.00616.64
8.1.300.0060.00318.15
8.1.290.0000.00930.84
8.1.280.0160.00025.92
8.1.270.0040.00421.93
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0000.00920.70
8.1.230.0070.00417.83
8.1.220.0050.00317.75
8.1.210.0080.00018.77
8.1.200.0000.00917.47
8.1.190.0050.00317.35
8.1.180.0060.00318.10
8.1.170.0050.00317.66
8.1.160.0000.00818.91
8.1.150.0030.00618.84
8.1.140.0040.00417.55
8.1.130.0060.00318.91
8.1.120.0040.00417.61
8.1.110.0000.00817.62
8.1.100.0040.00417.66
8.1.90.0040.00417.57
8.1.80.0000.00717.64
8.1.70.0040.00417.53
8.1.60.0080.00017.75
8.1.50.0060.00317.70
8.1.40.0040.00417.71
8.1.30.0220.00017.80
8.1.20.0190.00617.80
8.1.10.0150.01017.68
8.1.00.0080.01017.66
8.0.300.0040.00420.44
8.0.290.0000.00916.88
8.0.280.0040.00418.53
8.0.270.0000.00816.95
8.0.260.0000.00618.41
8.0.250.0040.00417.11
8.0.240.0030.00316.98
8.0.230.0000.00816.98
8.0.220.0030.00317.06
8.0.210.0070.00017.01
8.0.200.0060.00017.12
8.0.190.0030.00617.06
8.0.180.0040.00417.09
8.0.170.0040.00417.08
8.0.160.0140.00417.05
8.0.150.0130.00316.94
8.0.140.0110.00717.01
8.0.130.0150.00516.88
8.0.120.0130.00417.00
8.0.110.0140.00416.87
8.0.100.0100.00716.91
8.0.90.0090.01216.87
8.0.80.0100.00316.89
8.0.70.0100.00517.00
8.0.60.0150.00517.06
8.0.50.0140.00517.03
8.0.30.0140.00716.84
8.0.20.0150.00617.05
8.0.10.0190.00017.02
7.4.330.0050.00015.55
7.4.320.0040.00416.80
7.4.300.0070.00016.73
7.4.290.0030.00616.66
7.4.280.0000.00816.81
7.4.270.0160.00716.80
7.4.260.0160.00516.70
7.4.250.0220.00016.75
7.4.240.0200.00016.60
7.4.230.0180.00416.74
7.4.220.0200.00016.79
7.4.210.0110.00816.64
7.4.200.0140.00316.62
7.4.190.0100.00716.76
7.4.180.0200.00016.86
7.4.160.0160.00416.75
7.4.150.0130.00716.71
7.4.140.0160.00416.62
7.4.130.0150.00416.63
7.4.120.0150.00416.77
7.4.110.0150.00316.55
7.4.100.0120.00416.76
7.4.90.0110.00716.83
7.4.80.0170.00216.62
7.4.70.0060.01316.79
7.4.60.0150.00316.68
7.4.50.0180.00016.67
7.4.40.0200.00016.55
7.4.30.0120.00416.73
7.4.20.0100.00616.72
7.4.10.0120.00316.60
7.4.00.0130.00516.54

preferences:
54.72 ms | 1400 KiB | 5 Q