3v4l.org

run code in 300+ PHP versions simultaneously
<?php $matches = array(); $text = "soundfly.us 192.168.0.1 192.168.0.1/test/index.php schoollife.edu hello.net some random news.yahoo.com text http://tinyurl.com/9uxdwc some http://google.com random text http://tinyurl.com/787988 and others will en.wikipedia.org/wiki/Country_music URL"; preg_match_all('$\b((https?|ftp|file)://)?[-A-Z0-9+&@#/%?=~_|!:,.;]*\.[-A-Z0-9+&@#/%=~_|]+$i', $text, $matches); print_r($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.3.60.0110.00716.63
8.3.50.0080.00822.11
8.3.40.0080.00818.97
8.3.30.0100.00318.92
8.3.20.0030.00520.13
8.3.10.0080.00023.59
8.3.00.0050.00319.26
8.2.180.0090.00618.31
8.2.170.0090.01222.96
8.2.160.0130.00620.38
8.2.150.0040.00424.18
8.2.140.0080.00324.66
8.2.130.0070.00026.16
8.2.120.0070.00022.07
8.2.110.0000.00822.43
8.2.100.0080.00417.91
8.2.90.0000.00719.10
8.2.80.0080.00017.97
8.2.70.0040.00417.63
8.2.60.0050.00317.90
8.2.50.0080.00018.07
8.2.40.0030.00519.84
8.2.30.0000.01118.03
8.2.20.0080.00017.69
8.2.10.0030.00517.92
8.2.00.0080.00017.87
8.1.280.0130.00725.92
8.1.270.0030.00523.96
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0060.00323.94
8.1.230.0040.00819.16
8.1.220.0030.00617.74
8.1.210.0030.00518.77
8.1.200.0030.00617.35
8.1.190.0000.00817.35
8.1.180.0060.00318.10
8.1.170.0080.00018.64
8.1.160.0040.00422.05
8.1.150.0020.00518.61
8.1.140.0080.00017.42
8.1.130.0030.00317.95
8.1.120.0000.00717.57
8.1.110.0000.00717.51
8.1.100.0040.00417.48
8.1.90.0040.00417.52
8.1.80.0000.00917.55
8.1.70.0000.00717.36
8.1.60.0040.00417.61
8.1.50.0040.00417.52
8.1.40.0000.00817.50
8.1.30.0050.00317.70
8.1.20.0000.00717.77
8.1.10.0050.00317.57
8.1.00.0030.00617.70
8.0.300.0000.00720.73
8.0.290.0050.00217.05
8.0.280.0000.00718.43
8.0.270.0000.00717.21
8.0.260.0000.00817.22
8.0.250.0000.00816.95
8.0.240.0080.00017.04
8.0.230.0000.00717.01
8.0.220.0030.00316.95
8.0.210.0070.00417.02
8.0.200.0060.00316.95
8.0.190.0000.00816.99
8.0.180.0080.00016.91
8.0.170.0000.00816.99
8.0.160.0000.00816.98
8.0.150.0000.00816.94
8.0.140.0040.00416.93
8.0.130.0040.00413.38
8.0.120.0060.00316.93
8.0.110.0080.00017.00
8.0.100.0000.00816.88
8.0.90.0040.00417.03
8.0.80.0040.01116.93
8.0.70.0000.00817.00
8.0.60.0040.00416.81
8.0.50.0000.00816.95
8.0.30.0130.01017.14
8.0.20.0110.00817.40
8.0.10.0000.00817.00
8.0.00.0130.00616.91
7.4.330.0000.00615.00
7.4.320.0000.00716.66
7.4.300.0000.00616.76
7.4.290.0000.00716.66
7.4.280.0040.00416.50
7.4.270.0000.00716.75
7.4.260.0040.00416.54
7.4.250.0030.00616.61
7.4.240.0020.00516.67
7.4.230.0030.00316.77
7.4.220.0060.01316.70
7.4.210.0060.01116.70
7.4.200.0020.00516.82
7.4.190.0000.00716.66
7.4.160.0070.01016.77
7.4.150.0090.00917.40
7.4.140.0130.00817.86
7.4.130.0040.01316.49
7.4.120.0120.00616.77
7.4.110.0100.00816.49
7.4.100.0130.00616.57
7.4.90.0090.00916.54
7.4.80.0090.01419.39
7.4.70.0060.01116.64
7.4.60.0030.01316.47
7.4.50.0060.00316.44
7.4.40.0160.00816.55
7.4.30.0100.01016.70
7.4.00.0070.00715.13
7.3.330.0030.00313.04
7.3.320.0000.00513.20
7.3.310.0070.00016.27
7.3.300.0030.00316.21
7.3.290.0060.00916.35
7.3.280.0060.01316.33
7.3.270.0120.00617.40
7.3.260.0070.01316.79
7.3.250.0080.01016.49
7.3.240.0030.01316.67
7.3.230.0120.00616.39
7.3.210.0060.01116.51
7.3.200.0090.00919.39
7.3.190.0130.01016.24
7.3.180.0130.00616.32
7.3.170.0050.01016.67
7.3.160.0090.00616.70
7.3.120.0080.00814.86
7.2.330.0120.00916.64
7.2.320.0040.01716.69
7.2.310.0000.01716.56
7.2.300.0070.01016.73
7.2.290.0040.01416.48
7.2.60.0110.00516.88
7.2.00.0000.01119.54
7.1.200.0030.01016.01
7.1.100.0170.00617.91
7.1.70.0050.00317.30
7.1.60.0040.00817.57
7.1.50.0090.01916.92
7.1.00.0070.07322.33
7.0.200.0120.00616.85
7.0.140.0000.07722.18
7.0.60.0070.05319.86
7.0.50.0070.05017.89
7.0.40.0100.07720.29
7.0.30.0100.05020.26
7.0.20.0200.06320.35
7.0.10.0070.08320.22
7.0.00.0030.07020.10
5.6.280.0070.07321.03
5.6.210.0070.07020.47
5.6.200.0070.08018.28
5.6.190.0030.06320.61
5.6.180.0270.03720.52
5.6.170.0230.06020.56
5.6.160.0030.06020.55
5.6.150.0170.06718.21
5.6.140.0100.03718.14
5.6.130.0070.06318.11
5.6.120.0130.08320.88
5.6.110.0100.08021.00
5.6.100.0000.06720.98
5.6.90.0000.09321.07
5.6.80.0070.04020.40
5.5.350.0030.05320.48
5.5.340.0000.04017.98
5.5.330.0100.08020.31
5.5.320.0030.03720.34
5.5.310.0270.06020.35
5.5.300.0070.04717.98
5.5.290.0100.07718.05
5.5.280.0100.07720.84
5.5.270.0070.05020.77
5.5.260.0130.08020.79
5.5.250.0070.08020.70
5.5.240.0070.07320.18
5.4.450.2070.04719.20
5.4.440.2130.03719.27
5.4.430.2000.04319.31
5.4.420.1830.03719.27
5.4.410.1930.02719.32
5.4.400.2100.03719.25
5.4.390.1800.03719.14
5.4.380.2030.04719.09
5.4.370.2000.04019.26
5.4.360.1930.03718.84
5.4.350.1730.04019.09
5.4.340.1800.03719.16
5.4.320.1730.04019.19
5.4.310.1900.04019.09
5.4.300.1800.03319.19
5.4.290.1800.03319.21
5.4.280.1930.03718.99
5.4.270.2000.04319.24
5.4.260.1800.03318.86
5.4.250.1800.04319.08
5.4.240.2030.04018.83
5.4.230.2000.04319.21
5.4.220.2070.04319.20
5.4.210.2070.04019.23
5.4.200.1930.04319.05
5.4.190.2300.04018.86
5.4.180.2100.03719.23
5.4.170.1800.04018.98
5.4.160.1830.03718.85
5.4.150.1830.04318.85
5.4.140.2530.04016.35
5.4.130.2200.04016.45
5.4.120.1870.03316.55
5.4.110.1800.03716.41
5.4.100.1830.03316.27
5.4.90.1870.03316.45
5.4.80.1900.03016.57
5.4.70.1830.03316.43
5.4.60.1870.04016.25
5.4.50.1900.03316.23
5.4.40.1930.03016.42
5.4.30.1800.04016.41
5.4.20.2100.04016.22
5.4.10.2070.04016.53
5.4.00.2100.02715.79
5.3.290.2170.04714.73
5.3.280.2030.03014.50
5.3.270.2100.04014.61
5.3.260.2030.04014.59
5.3.250.1800.03314.57
5.3.240.2000.04714.68
5.3.230.1800.03714.64
5.3.220.2000.04314.71
5.3.210.1970.04014.58
5.3.200.1730.04014.71
5.3.190.2030.04714.79
5.3.180.1970.04314.54
5.3.170.1770.03314.63
5.3.160.1970.04014.55
5.3.150.1900.03714.46
5.3.140.0900.03714.55
5.3.130.0000.04014.43
5.3.120.0400.05014.65
5.3.110.1730.04014.45
5.3.100.2000.05014.00
5.3.90.2130.03314.16
5.3.80.1970.03713.93
5.3.70.2100.04314.16
5.3.60.1700.04013.92
5.3.50.2030.04713.91
5.3.40.2000.04714.16
5.3.30.1770.03313.81
5.3.20.1730.03713.61
5.3.10.1130.04313.59
5.3.00.0070.07313.64
5.2.170.0000.07011.04
5.2.160.1070.03011.11
5.2.150.1700.03711.15
5.2.140.1670.03711.11
5.2.130.1700.03311.00
5.2.120.1470.03011.32
5.2.110.1730.02711.18
5.2.100.1730.03311.15
5.2.90.1730.03711.01
5.2.80.1800.03011.24
5.2.70.1600.02711.02
5.2.60.1770.03310.94
5.2.50.1730.03310.93
5.2.40.0000.03011.05
5.2.30.0000.06010.88
5.2.20.0030.03310.89
5.2.10.0270.05010.83
5.2.00.1470.03310.61
5.1.60.1470.0309.93
5.1.50.1230.0239.89
5.1.40.1570.02710.10
5.1.30.1200.03010.41
5.1.20.1230.02710.30
5.1.10.1270.0239.93
5.1.00.1400.0309.96
5.0.50.0670.0138.45
5.0.40.0800.0208.53
5.0.30.0600.0338.20
5.0.20.0600.0208.11
5.0.10.0630.0178.17
5.0.00.0670.0308.16
4.4.90.0600.0208.11
4.4.80.0570.0178.11
4.4.70.0630.0138.11
4.4.60.0070.0178.11
4.4.50.0030.0178.11
4.4.40.0000.0338.11
4.4.30.0000.0178.11
4.4.20.0000.0178.11
4.4.10.0030.0208.11
4.4.00.0000.0278.11
4.3.110.0030.0138.11
4.3.100.0430.0178.11
4.3.90.0700.0208.11
4.3.80.0800.0238.11
4.3.70.0700.0138.11
4.3.60.0670.0178.11
4.3.50.0530.0208.11
4.3.40.0570.0278.11
4.3.30.0300.0178.11
4.3.20.0300.0178.11
4.3.10.0300.0178.11
4.3.00.0330.0138.11

preferences:
67.95 ms | 401 KiB | 5 Q