3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text ="I found some really good articles on such and such topic. Here are a few links to check out: http://www.example.com/hOSDHOUA and https://www.mywebsite.com/h/yIFeelLowIfImHigh and http://example-site.com/today-is-a-beautiful-day/. "; $reg_exUrl = "/(http|https|ftp|ftps)\:\/\/[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(\/\S*)?/"; echo preg_replace($reg_exUrl, "<a href=$0>$0</a> ", $text);

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.70.0120.00316.75
8.3.60.0110.00720.16
8.3.50.0110.00318.20
8.3.40.0120.00618.99
8.3.30.0040.01218.83
8.3.20.0040.00421.89
8.3.10.0040.00423.64
8.3.00.0040.00421.60
8.2.190.0040.01118.31
8.2.180.0140.00718.38
8.2.170.0070.01422.96
8.2.160.0140.00719.15
8.2.150.0080.00024.18
8.2.140.0000.00724.66
8.2.130.0050.00217.91
8.2.120.0040.00426.35
8.2.110.0070.00421.02
8.2.100.0120.00017.97
8.2.90.0080.00017.95
8.2.80.0040.00417.97
8.2.70.0000.00917.93
8.2.60.0050.00318.03
8.2.50.0030.00518.10
8.2.40.0000.00919.32
8.2.30.0060.00319.19
8.2.20.0040.00418.07
8.2.10.0040.00420.64
8.2.00.0040.00419.50
8.1.280.0120.00325.92
8.1.270.0060.00318.91
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00323.98
8.1.230.0040.00822.75
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0060.00617.35
8.1.190.0050.00317.35
8.1.180.0030.00518.10
8.1.170.0030.00518.47
8.1.160.0040.00418.91
8.1.150.0090.00018.90
8.1.140.0080.00023.80
8.1.130.0000.00720.05
8.1.120.0000.00717.40
8.1.110.0080.00017.52
8.1.100.0000.00917.60
8.1.90.0040.00417.53
8.1.80.0000.00817.61
8.1.70.0030.00517.44
8.1.60.0060.00317.73
8.1.50.0050.00317.55
8.1.40.0090.00017.59
8.1.30.0040.00417.75
8.1.20.0050.00517.65
8.1.10.0000.00917.66
8.1.00.0050.00517.60
8.0.300.0000.00819.90
8.0.290.0090.00016.75
8.0.280.0070.00018.40
8.0.270.0000.00817.20
8.0.260.0030.00318.49
8.0.250.0070.00017.08
8.0.240.0000.00717.11
8.0.230.0030.00316.98
8.0.220.0000.00616.98
8.0.210.0030.00316.98
8.0.200.0070.00017.08
8.0.190.0000.00816.98
8.0.180.0040.00416.91
8.0.170.0000.00917.06
8.0.160.0030.00317.01
8.0.150.0040.00417.00
8.0.140.0040.00416.98
8.0.130.0030.00313.45
8.0.120.0070.00016.94
8.0.110.0070.00016.97
8.0.100.0080.00016.87
8.0.90.0040.00416.83
8.0.80.0080.01017.02
8.0.70.0030.00616.86
8.0.60.0000.00716.85
8.0.50.0030.00517.05
8.0.30.0040.01517.24
8.0.20.0150.00317.40
8.0.10.0040.00417.09
8.0.00.0070.01217.04
7.4.330.0000.00616.86
7.4.320.0050.00316.66
7.4.300.0060.00016.80
7.4.290.0030.00316.74
7.4.280.0000.00716.55
7.4.270.0040.00416.74
7.4.260.0000.00716.64
7.4.250.0030.00316.73
7.4.240.0030.00316.80
7.4.230.0080.00016.80
7.4.220.0030.00516.84
7.4.210.0050.01016.76
7.4.200.0050.00216.84
7.4.160.0080.00816.57
7.4.140.0110.00717.86
7.4.130.0070.01116.68
7.4.120.0100.00716.74
7.4.110.0200.01216.51
7.4.100.0160.00616.64
7.4.90.0100.00716.69
7.4.80.0110.01119.39
7.4.70.0100.01016.68
7.4.60.0030.01216.51
7.4.50.0050.00516.52
7.4.40.0110.00516.69
7.4.00.0000.00815.29
7.3.330.0060.00013.04
7.3.320.0000.00513.13
7.3.310.0030.00316.23
7.3.300.0030.00316.17
7.3.290.0030.00316.38
7.3.280.0070.01216.26
7.3.260.0100.01216.63
7.3.240.0090.00816.45
7.3.230.0120.01216.32
7.3.210.0160.00016.43
7.3.200.0070.01016.48
7.3.190.0130.01016.24
7.3.180.0060.01116.46
7.3.170.0060.01316.49
7.3.160.0090.00916.69
7.3.00.0090.00516.46
7.2.330.0080.00816.73
7.2.320.0040.01416.72
7.2.310.0060.00916.84
7.2.300.0030.01316.64
7.2.290.0160.01016.65
7.2.130.0120.00316.50
7.2.120.0060.00616.71
7.2.110.0040.01116.52
7.2.100.0090.00916.74
7.2.90.0090.00916.65
7.2.80.0100.00316.49
7.2.70.0070.00716.87
7.2.60.0060.01017.04
7.2.50.0130.00316.88
7.2.40.0090.00617.12
7.2.30.0150.00017.09
7.2.20.0060.01016.76
7.2.10.0060.00916.65
7.2.00.0110.00516.89
7.1.250.0070.00715.91
7.0.330.0060.00615.47
5.6.380.0100.00314.49

preferences:
29.29 ms | 401 KiB | 5 Q