3v4l.org

run code in 300+ PHP versions simultaneously
<?php $links = [ 'http://www.arrivo.ru/tury.html', 'http://www.arrivo.ru/tury/ispaniya.html', 'https://www.arrivo.ru/tury.html', 'https://www.arrivo.ru/tury/ispaniya.html', '//www.arrivo.ru/tury.html', '//www.arrivo.ru/tury/ispaniya.html', 'http://arrivo.ru/tury.html', 'http://arrivo.ru/tury/ispaniya.html', '/tury.html', '/tury/ispaniya.html', '/qwerty.html' ]; foreach ( $links as $link ) { if ( preg_match('#^((http:|https:)?//(www\.)?arrivo\.ru|/[^/])(?!.*tury)(?!.*about)(?!.*advert)(?!.*vietnam)(?!.*indoneziya)(?!.*marokko)(?!.*seiyshelskie-ostrova)(?!.*oae)(?!.*angliya)(?!.*germaniya)(?!.*malta)(?!.*niderlandy)(?!.*shveiytsariya)(?!.*ssha)(?!.*barbados)(?!.*yamaiyka)(?!.*avstraliya).*$#', $link) ) { echo $link."\r\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.70.0160.00618.68
8.3.60.0110.00418.31
8.3.50.0080.01321.11
8.3.40.0130.00318.92
8.3.30.0000.01419.09
8.3.20.0000.00720.30
8.3.10.0080.00023.65
8.3.00.0080.00019.50
8.2.190.0110.00718.29
8.2.180.0070.01118.54
8.2.170.0140.00722.96
8.2.160.0070.00720.43
8.2.150.0000.00824.18
8.2.140.0050.00324.66
8.2.130.0070.00026.16
8.2.120.0050.00322.41
8.2.110.0140.00419.31
8.2.100.0060.00917.75
8.2.90.0060.00319.17
8.2.80.0030.00517.97
8.2.70.0030.00517.75
8.2.60.0040.00417.80
8.2.50.0100.00018.07
8.2.40.0000.00820.19
8.2.30.0000.00818.11
8.2.20.0000.00817.99
8.2.10.0000.00718.08
8.2.00.0040.00418.04
8.1.280.0100.00725.92
8.1.270.0000.00923.95
8.1.260.0080.00026.35
8.1.250.0000.00728.09
8.1.240.0030.00624.04
8.1.230.0080.00417.61
8.1.220.0000.00817.74
8.1.210.0060.00318.77
8.1.200.0090.00017.50
8.1.190.0080.00017.47
8.1.180.0030.00618.10
8.1.170.0040.00418.69
8.1.160.0040.00422.11
8.1.150.0040.00418.92
8.1.140.0040.00417.65
8.1.130.0030.00317.85
8.1.120.0000.00817.56
8.1.110.0020.00517.66
8.1.100.0000.00717.64
8.1.90.0050.00317.59
8.1.80.0060.00317.53
8.1.70.0040.00417.65
8.1.60.0030.00617.74
8.1.50.0000.00817.62
8.1.40.0000.00917.68
8.1.30.0050.00317.85
8.1.20.0000.00717.82
8.1.10.0030.00617.66
8.1.00.0000.00817.56
8.0.300.0030.00518.77
8.0.290.0040.00416.88
8.0.280.0030.00318.56
8.0.270.0070.00017.20
8.0.260.0000.00617.32
8.0.250.0030.00317.18
8.0.240.0070.00017.16
8.0.230.0070.00017.04
8.0.220.0040.00417.09
8.0.210.0060.00017.16
8.0.200.0070.00417.15
8.0.190.0040.00417.06
8.0.180.0050.00317.06
8.0.170.0040.00417.12
8.0.160.0000.00717.02
8.0.150.0070.00017.07
8.0.140.0040.00717.07
8.0.130.0000.00613.55
8.0.120.0050.00317.11
8.0.110.0040.00417.13
8.0.100.0040.00416.97
8.0.90.0000.00717.14
8.0.80.0090.00917.09
8.0.70.0040.00416.93
8.0.60.0040.00417.11
8.0.50.0040.00417.14
8.0.30.0100.00917.08
8.0.20.0110.00817.44
8.0.10.0070.00017.01
8.0.00.0100.00916.95
7.4.330.0030.00315.17
7.4.320.0000.00816.77
7.4.300.0070.00016.80
7.4.290.0030.00716.70
7.4.280.0000.00716.84
7.4.270.0030.00316.89
7.4.260.0000.00716.73
7.4.250.0040.00416.64
7.4.240.0020.00616.78
7.4.230.0030.00316.93
7.4.220.0110.00616.81
7.4.210.0100.01016.75
7.4.200.0000.00716.84
7.4.160.0100.01316.76
7.4.150.0040.01517.40
7.4.140.0100.01017.86
7.4.130.0120.00716.78
7.4.120.0150.00216.71
7.4.110.0100.01316.45
7.4.100.0120.00616.82
7.4.90.0120.00616.84
7.4.80.0060.01219.39
7.4.70.0240.01916.71
7.4.60.0100.00716.76
7.4.50.0080.00016.85
7.4.40.0120.00616.81
7.4.30.0060.01016.77
7.4.00.0140.00315.02
7.3.330.0030.00313.22
7.3.320.0000.00613.31
7.3.310.0030.00316.52
7.3.300.0030.00316.47
7.3.290.0040.01016.42
7.3.280.0060.01216.49
7.3.270.0120.00617.40
7.3.260.0160.01016.48
7.3.250.0100.01016.55
7.3.240.0090.01316.55
7.3.230.0100.01016.43
7.3.210.0090.00916.76
7.3.200.0100.00719.39
7.3.190.0060.01116.71
7.3.180.0060.01916.79
7.3.170.0220.00016.71
7.3.160.0090.00616.81
7.2.330.0090.00916.82
7.2.320.0100.01016.77
7.2.310.0070.01016.87
7.2.300.0040.01316.73
7.2.290.0140.00316.89
7.2.60.0040.01117.17
7.2.00.0110.01119.44
7.1.200.0100.00316.12
7.1.100.0060.00318.50
7.1.70.0000.00717.17
7.1.60.0040.02119.11
7.1.50.0110.01517.14
7.1.00.0000.08022.38
7.0.200.0000.00916.88
7.0.140.0000.08022.08
7.0.60.0030.05719.91
7.0.50.0030.04017.94
7.0.40.0170.07020.29
7.0.30.0230.08720.20
7.0.20.0370.04720.17
7.0.10.0100.07020.23
7.0.00.0070.09320.05
5.6.280.0030.07320.98
5.6.210.0130.07020.71
5.6.200.0070.04318.21
5.6.190.0100.03720.43
5.6.180.0570.04020.58
5.6.170.0230.08320.35
5.6.160.0000.04720.44
5.6.150.0130.06318.09
5.6.140.0030.08718.23
5.6.130.0100.07318.10
5.6.120.0030.06320.90
5.6.110.0070.08321.01
5.6.100.0000.04321.13
5.6.90.0100.07021.03
5.6.80.0100.05020.37
5.5.350.0000.08720.40
5.5.340.0070.04017.98
5.5.330.0030.04720.34
5.5.320.2230.04720.28
5.5.310.0270.07720.41
5.5.300.0070.08017.88
5.5.290.0100.08317.91
5.5.280.0070.04320.97
5.5.270.0000.04320.85
5.5.260.0100.06020.95
5.5.250.0070.07320.54
5.5.240.0000.04020.32
5.4.450.0530.04719.45
5.4.440.0630.03719.36
5.4.430.0130.04319.37
5.4.420.0100.03719.38
5.4.410.0100.04019.00
5.4.400.0100.03019.13
5.4.390.0370.04019.21
5.4.380.0800.04019.21
5.4.370.0470.03019.13
5.4.360.0770.03719.21
5.4.350.0370.04319.06
5.4.340.0470.04019.04
5.4.320.0700.04019.03
5.4.310.0730.02719.13
5.4.300.0700.04318.90
5.4.290.0030.03019.24
5.4.280.0630.04319.06
5.4.270.0770.03719.03
5.4.260.0470.05319.06
5.4.250.0830.03719.05
5.4.240.0570.04019.19
5.4.230.0570.03319.17
5.4.220.0670.03018.89
5.4.210.0470.04719.02
5.4.200.0600.03718.92
5.4.190.0470.03718.75
5.4.180.0230.04319.06
5.4.170.0170.03719.14
5.4.160.0470.04019.14
5.4.150.0530.03719.14
5.4.140.0830.02316.35
5.4.130.0430.03316.22
5.4.120.0230.04316.18
5.4.110.0700.04316.31
5.4.100.1070.03716.40
5.4.90.0500.04716.31
5.4.80.0430.05716.38
5.4.70.0530.03716.37
5.4.60.0500.03716.36
5.4.50.0700.04716.20
5.4.40.0500.04016.42
5.4.30.0630.03316.39
5.4.20.0500.04316.34
5.4.10.0170.02716.14
5.4.00.0500.03715.75
5.3.290.0830.04015.63
5.3.280.0430.04315.63
5.3.270.0770.03015.51
5.3.260.0670.04015.51
5.3.250.0470.04015.51
5.3.240.0570.03315.51
5.3.230.0700.03015.51
5.3.220.0870.03315.51
5.3.210.0630.03715.51
5.3.200.0670.04715.51
5.3.190.0470.04315.51
5.3.180.0400.04715.51
5.3.170.0600.03715.51
5.3.160.0500.04315.51
5.3.150.0530.03315.51
5.3.140.0730.03015.51
5.3.130.0600.03715.51
5.3.120.0500.04715.51
5.3.110.0170.04315.51
5.3.100.0770.03715.51
5.3.90.0600.04315.51
5.3.80.0330.05715.51
5.3.70.0670.04315.51
5.3.60.0070.03015.51
5.3.50.0700.02315.51
5.3.40.0900.04015.51
5.3.30.0200.03715.51
5.3.20.0570.06015.51
5.3.10.0670.03715.51
5.3.00.0730.05015.51
5.2.170.0000.02715.51
5.2.160.0670.03015.51
5.2.150.0400.03715.51
5.2.140.0530.04315.51
5.2.130.0430.03015.51
5.2.120.0600.03315.51
5.2.110.0570.02715.51
5.2.100.0500.03315.51
5.2.90.0400.03015.51
5.2.80.0570.02715.51
5.2.70.0500.02715.51
5.2.60.0300.03315.50
5.2.50.0230.05015.47
5.2.40.0070.02315.28
5.2.30.0270.02715.28
5.2.20.0500.02315.28
5.2.10.0330.03015.28
5.2.00.0370.02015.28
5.1.60.0300.02315.28
5.1.50.0130.02715.28
5.1.40.0300.02715.28
5.1.30.0470.02715.28
5.1.20.0470.02315.28
5.1.10.0400.02015.28
5.1.00.0500.02315.28
5.0.50.0270.02315.28
5.0.40.0170.01715.28
5.0.30.0270.03315.28
5.0.20.0300.01315.28
5.0.10.0200.01715.28
5.0.00.0200.02715.28
4.4.90.0270.01315.51
4.4.80.0130.01315.50
4.4.70.0200.01715.28
4.4.60.0130.02015.28
4.4.50.0230.01315.28
4.4.40.0230.02715.28
4.4.30.0200.01315.28
4.4.20.0370.01315.28
4.4.10.0200.01315.28
4.4.00.0100.02715.28
4.3.110.0100.02315.28
4.3.100.0030.02015.28
4.3.90.0200.01315.28
4.3.80.0230.02715.28
4.3.70.0170.01015.28
4.3.60.0130.01015.28
4.3.50.0130.01315.28
4.3.40.0230.02015.28
4.3.30.0070.01315.28
4.3.20.0070.01715.28
4.3.10.0030.01715.28
4.3.00.0070.01315.28

preferences:
45 ms | 401 KiB | 5 Q