3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Everything you enter here will be executed by our servers. Try it! $domain = "stackoverflow.com"; $uriToTest = "http://stackoverflow.com/"; $pattern = "/^http(s)?:\//(([a-z]+)\.)*".$domain."/"; print_r( preg_match($pattern, $uriToTest));

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.0120.00318.56
8.3.50.0100.00822.02
8.3.40.0160.00618.85
8.3.30.0110.00319.00
8.3.20.0050.00220.04
8.3.10.0070.00022.14
8.3.00.0100.00322.43
8.2.180.0170.00016.75
8.2.170.0140.00022.96
8.2.160.0100.00320.77
8.2.150.0030.00524.18
8.2.140.0080.00024.66
8.2.130.0000.00726.16
8.2.120.0080.00019.48
8.2.110.0000.01022.16
8.2.100.0000.01217.76
8.2.90.0060.00319.05
8.2.80.0080.00018.03
8.2.70.0000.00817.63
8.2.60.0060.00317.74
8.2.50.0000.00818.07
8.2.40.0040.00418.22
8.2.30.0030.00518.05
8.2.20.0060.00317.66
8.2.10.0080.00019.52
8.2.00.0040.00717.65
8.1.280.0090.00925.92
8.1.270.0060.00322.14
8.1.260.0040.00426.35
8.1.250.0030.00628.09
8.1.240.0060.00323.79
8.1.230.0110.00019.16
8.1.220.0080.00017.78
8.1.210.0040.00418.77
8.1.200.0000.00817.22
8.1.190.0030.00617.30
8.1.180.0040.00418.10
8.1.170.0040.00418.41
8.1.160.0000.00722.01
8.1.150.0050.00318.53
8.1.140.0050.00217.36
8.1.130.0000.00817.86
8.1.120.0040.00417.50
8.1.110.0050.00217.48
8.1.100.0000.00817.35
8.1.90.0030.00517.44
8.1.80.0000.00717.49
8.1.70.0030.00317.31
8.1.60.0000.00817.46
8.1.50.0020.00517.45
8.1.40.0000.00717.53
8.1.30.0000.00717.60
8.1.20.0000.00817.64
8.1.10.0000.00817.49
8.1.00.0030.00517.42
8.0.300.0000.00918.77
8.0.290.0040.00417.15
8.0.280.0000.00718.47
8.0.270.0070.00017.20
8.0.260.0030.00516.89
8.0.250.0000.00716.99
8.0.240.0030.00316.88
8.0.230.0000.00716.91
8.0.220.0040.00416.84
8.0.210.0030.00316.93
8.0.200.0030.00316.88
8.0.190.0050.00216.93
8.0.180.0000.00716.89
8.0.170.0030.00516.97
8.0.160.0000.00717.00
8.0.150.0030.00616.90
8.0.140.0030.00316.87
8.0.130.0030.00313.35
8.0.120.0050.00216.82
8.0.110.0040.00416.89
8.0.100.0000.00716.78
8.0.90.0000.00716.89
8.0.80.0110.01116.91
8.0.70.0000.00816.94
8.0.60.0000.00716.71
8.0.50.0040.00416.88
8.0.30.0110.00817.07
8.0.20.0040.01517.40
8.0.10.0040.00317.02
8.0.00.0100.00716.76
7.4.330.0020.00315.00
7.4.320.0060.00016.34
7.4.300.0050.00216.35
7.4.290.0050.00516.48
7.4.280.0000.00716.43
7.4.270.0070.00016.49
7.4.260.0070.00016.38
7.4.250.0000.00716.40
7.4.240.0020.00616.42
7.4.230.0000.00716.32
7.4.220.0030.01416.53
7.4.210.0060.00816.58
7.4.200.0070.00016.51
7.4.190.0020.00516.49
7.4.160.0090.00616.51
7.4.150.0100.01617.40
7.4.140.0120.00917.86
7.4.130.0090.00816.53
7.4.120.0100.00816.44
7.4.110.0070.01016.53
7.4.100.0090.01216.40
7.4.90.0150.00316.34
7.4.80.0160.00819.39
7.4.70.0040.01216.37
7.4.60.0130.00316.57
7.4.50.0050.00316.25
7.4.40.0100.00722.77
7.4.30.0060.00916.48
7.4.00.0000.01815.04
7.3.330.0000.00513.05
7.3.320.0000.00613.21
7.3.310.0030.00316.38
7.3.300.0030.00316.32
7.3.290.0100.00616.30
7.3.280.0060.00916.40
7.3.270.0110.00617.40
7.3.260.0130.01116.39
7.3.250.0110.00916.39
7.3.240.0090.00816.34
7.3.230.0150.00416.49
7.3.210.0160.00016.34
7.3.200.0030.01419.39
7.3.190.0090.00916.42
7.3.180.0120.00316.45
7.3.170.0090.00616.50
7.3.160.0100.00616.26
7.3.120.0060.00614.82
7.3.00.0060.00616.57
7.2.330.0080.00916.25
7.2.320.0110.00716.29
7.2.310.0120.00416.29
7.2.300.0070.01716.67
7.2.290.0140.00416.32
7.2.130.0030.01016.68
7.2.120.0030.01016.70
7.2.110.0070.00416.85
7.2.100.0030.00716.91
7.2.90.0040.00816.42
7.2.80.0000.01116.76
7.2.70.0030.01016.97
7.2.60.0040.01116.60
7.2.50.0040.01116.50
7.2.40.0080.00416.55
7.2.30.0090.00916.96
7.2.20.0070.00316.66
7.2.10.0090.00316.55
7.2.00.0030.01118.14
7.1.250.0030.01015.34
7.1.240.0030.00815.74
7.1.230.0100.00315.53
7.1.220.0100.00015.44
7.1.210.0060.00915.34
7.1.200.0080.00315.76
7.1.190.0070.00315.73
7.1.180.0030.00715.67
7.1.170.0030.00715.38
7.1.160.0080.00415.72
7.1.150.0100.00315.88
7.1.140.0090.00015.67
7.1.130.0000.01115.52
7.1.120.0110.00015.88
7.1.110.0060.00315.39
7.1.100.0050.00717.01
7.1.90.0110.00015.86
7.1.80.0080.00415.88
7.1.70.0000.00816.10
7.1.60.0050.01017.69
7.1.50.0080.00816.41
7.1.40.0140.00015.86
7.1.30.0040.00715.75
7.1.20.0040.00815.71
7.1.10.0100.00315.80
7.1.00.0070.03818.92
7.0.330.0040.00815.24
7.0.320.0100.00015.29
7.0.310.0030.00714.99
7.0.300.0030.00715.00
7.0.290.0100.00315.14
7.0.280.0060.00615.46
7.0.270.0070.00715.32
7.0.260.0030.00915.30
7.0.250.0060.00915.25
7.0.240.0070.00715.20
7.0.230.0060.00615.45
7.0.220.0070.00314.97
7.0.210.0040.00715.19
7.0.200.0050.00516.07
7.0.190.0120.00415.25
7.0.180.0100.00015.28
7.0.170.0030.00715.21
7.0.160.0000.00915.30
7.0.150.0060.00315.21
7.0.140.0040.04018.73
7.0.130.0000.01015.11
7.0.120.0070.00415.10
7.0.110.0070.00315.29
7.0.100.0140.03617.56
7.0.90.0080.02217.53
7.0.80.0080.02117.51
7.0.70.0080.02317.49
7.0.60.0050.02817.57
7.0.50.0020.02117.82
7.0.40.0020.02616.77
7.0.30.0090.01916.78
7.0.20.0070.02316.67
7.0.10.0050.02316.59
7.0.00.0030.02516.57
5.6.380.0040.00414.34
5.6.370.0040.01214.39
5.6.360.0070.00713.95
5.6.350.0040.00714.25
5.6.340.0070.00014.30
5.6.330.0070.00014.22
5.6.320.0040.00713.83
5.6.310.0070.00314.03
5.6.300.0000.01114.42
5.6.290.0110.00014.16
5.6.280.0080.03717.42
5.6.270.0070.00314.10
5.6.260.0070.00314.32
5.6.250.0050.03017.43
5.6.240.0060.04617.39
5.6.230.0050.02717.36
5.6.220.0060.02017.34
5.6.210.0020.02617.32
5.6.200.0070.02217.48
5.6.190.0030.03017.43
5.6.180.0020.02317.62
5.6.170.0020.02217.51
5.6.160.0030.02017.58
5.6.150.0070.02117.57
5.6.140.0100.01817.49
5.6.130.0020.02517.50
5.6.120.0050.02017.72
5.6.110.0030.02317.60
5.6.100.0070.02117.45
5.6.90.0050.02217.68
5.6.80.0050.02017.19
5.6.70.0080.03717.21
5.6.60.0020.04817.30
5.6.50.0130.01517.08
5.6.40.0050.03817.05
5.6.30.0100.03217.23
5.6.20.0110.03917.16
5.6.10.0030.04017.07
5.6.00.0050.02417.15
5.5.380.0020.02415.78
5.5.370.0060.02015.76
5.5.360.0030.02515.78
5.5.350.0090.01815.82
5.5.340.0060.02115.91
5.5.330.0050.02216.03
5.5.320.0000.02516.05
5.5.310.0040.01816.03
5.5.300.0020.02015.90
5.5.290.0080.02016.01
5.5.280.0080.02015.98
5.5.270.0040.02016.01
5.5.260.0030.02416.00
5.5.250.0050.01815.92
5.5.240.0070.01515.68
5.5.230.0050.04015.65
5.5.220.0080.03515.73
5.5.210.0050.04015.65
5.5.200.0060.03915.72
5.5.190.0050.03015.66
5.5.180.0020.04515.64
5.5.170.0030.00711.18
5.5.160.0000.02515.66
5.5.150.0030.02915.72
5.5.140.0050.03815.69
5.5.130.0090.03515.71
5.5.120.0050.04015.65
5.5.110.0100.03715.71
5.5.100.0080.02715.62
5.5.90.0040.03715.67
5.5.80.0030.03115.67
5.5.70.0020.04615.61
5.5.60.0070.02215.64
5.5.50.0070.01815.60
5.5.40.0090.04015.56
5.5.30.0070.03915.66
5.5.20.0030.02815.60
5.5.10.0030.04215.56
5.5.00.0050.03315.58
5.4.450.0000.02215.23
5.4.440.0020.02415.30
5.4.430.0020.02415.22
5.4.420.0060.02015.23
5.4.410.0030.02015.20
5.4.400.0050.02015.07
5.4.390.0020.02315.13
5.4.380.0020.04415.10
5.4.370.0060.03115.12
5.4.360.0020.04215.14
5.4.350.0090.02515.08
5.4.340.0120.03015.08
5.4.330.0040.00411.18
5.4.320.0080.03615.15
5.4.310.0060.01815.18
5.4.300.0060.04114.99
5.4.290.0050.01815.16
5.4.280.0030.02414.99
5.4.270.0080.02015.05
5.4.260.0070.04215.12
5.4.250.0030.04215.10
5.4.240.0080.03815.15
5.4.230.0030.03715.11
5.4.220.0030.02715.03
5.4.210.0040.03614.99
5.4.200.0030.03615.21
5.4.190.0090.03715.06
5.4.180.0050.02815.10
5.4.170.0050.04015.13
5.4.160.0030.02514.99
5.4.150.0090.02515.04
5.4.140.0100.03813.73
5.4.130.0090.03613.78
5.4.120.0050.02313.72
5.4.110.0040.02413.69
5.4.100.0030.02313.74
5.4.90.0030.02313.81
5.4.80.0040.03013.68
5.4.70.0050.03713.71
5.4.60.0100.03313.70
5.4.50.0090.03513.75
5.4.40.0050.02813.75
5.4.30.0000.02813.76
5.4.20.0050.03013.74
5.4.10.0030.02013.75
5.4.00.0040.02113.49
5.3.290.0090.03712.91
5.3.280.0020.03912.81
5.3.270.0080.02212.80
5.3.260.0100.01812.89
5.3.250.0150.02512.88
5.3.240.0060.02812.80
5.3.230.0030.03212.87
5.3.220.0070.02812.78
5.3.210.0080.03512.78
5.3.200.0030.02512.86
5.3.190.0080.03112.80
5.3.180.0030.02312.81
5.3.170.0070.02212.82
5.3.160.0050.02712.86
5.3.150.0020.02212.86
5.3.140.0040.02312.82
5.3.130.0060.01912.85
5.3.120.0080.03712.83
5.3.110.0020.03612.85
5.3.100.0020.04412.59
5.3.90.0090.04212.59
5.3.80.0020.03212.52
5.3.70.0030.02212.59
5.3.60.0050.02512.58
5.3.50.0050.03412.54
5.3.40.0070.03512.55
5.3.30.0070.02212.54
5.3.20.0070.02812.41
5.3.10.0070.03412.40
5.3.00.0100.03312.37
5.2.170.0050.02011.08
5.2.160.0030.03311.08
5.2.150.0080.02911.09
5.2.140.0040.02511.18
5.2.130.0080.03211.11
5.2.120.0060.03311.12
5.2.110.0070.01811.12
5.2.100.0110.02811.12
5.2.90.0040.03411.05
5.2.80.0080.03111.13
5.2.70.0030.03411.14
5.2.60.0090.02811.03
5.2.50.0040.01711.02
5.2.40.0020.02111.08
5.2.30.0000.02411.08
5.2.20.0020.02010.99
5.2.10.0030.03311.05
5.2.00.0070.03010.97
5.1.60.0080.02210.61
5.1.50.0080.02510.61
5.1.40.0080.01210.59
5.1.30.0040.03010.78
5.1.20.0070.01910.71
5.1.10.0050.03010.52
5.1.00.0030.03110.61
5.0.50.0020.01610.29
5.0.40.0020.02510.29
5.0.30.0050.02710.29
5.0.20.0090.01710.29
5.0.10.0040.02210.29
5.0.00.0000.03510.29
4.4.90.0010.01310.29
4.4.80.0020.01510.29
4.4.70.0020.01810.29
4.4.60.0000.01710.29
4.4.50.0020.02210.29
4.4.40.0020.02710.29
4.4.30.0050.01310.29
4.4.20.0030.01010.29
4.4.10.0020.01610.29
4.4.00.0060.01910.29
4.3.110.0020.02010.29
4.3.100.0020.01510.29
4.3.90.0020.01510.29
4.3.80.0010.02810.29
4.3.70.0020.02010.29
4.3.60.0020.01010.29
4.3.50.0030.02010.29
4.3.40.0030.02310.29
4.3.30.0000.02210.29
4.3.20.0020.01910.29
4.3.10.0000.01810.29
4.3.00.0000.01910.29

preferences:
49.46 ms | 400 KiB | 5 Q