3v4l.org

run code in 300+ PHP versions simultaneously
<?php $allowed_hosts = ['wowwiki.com', 'wikia.com', 'falloutvault.com']; $host = false; // parse_url($url, PHP_URL_HOST) var_dump(in_array($host, $allowed_hosts));

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.130.0040.00816.46
8.3.120.0090.00018.89
8.3.110.0060.00320.94
8.3.100.0030.00624.06
8.3.90.0120.00326.77
8.3.80.0080.00318.31
8.3.70.0090.00616.38
8.3.60.0070.01118.18
8.3.50.0130.00521.07
8.3.40.0120.00318.72
8.3.30.0100.00718.73
8.3.20.0040.00423.48
8.3.10.0000.00822.09
8.3.00.0080.00022.57
8.2.250.0000.00918.28
8.2.240.0000.00817.00
8.2.230.0080.00022.58
8.2.220.0130.00737.54
8.2.210.0000.00726.77
8.2.200.0090.00018.41
8.2.190.0110.00418.39
8.2.180.0090.00618.04
8.2.170.0100.01022.96
8.2.160.0090.00622.08
8.2.150.0030.00624.18
8.2.140.0060.00324.66
8.2.130.0070.00026.16
8.2.120.0000.00719.83
8.2.110.0040.00421.90
8.2.100.0040.00817.89
8.2.90.0090.00017.75
8.2.80.0040.00419.53
8.2.70.0040.00417.80
8.2.60.0050.00317.97
8.2.50.0070.00318.10
8.2.40.0040.00419.47
8.2.30.0040.00419.13
8.2.20.0070.00017.83
8.2.10.0000.00719.22
8.2.00.0020.00519.22
8.1.300.0090.00018.49
8.1.290.0060.00318.88
8.1.280.0040.01125.92
8.1.270.0050.00320.52
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0060.00320.35
8.1.230.0070.00420.95
8.1.220.0080.00317.74
8.1.210.0050.00318.77
8.1.200.0000.00917.22
8.1.190.0000.00816.88
8.1.180.0080.00418.10
8.1.170.0040.00418.50
8.1.160.0000.00719.00
8.1.150.0000.00718.73
8.1.140.0000.00720.81
8.1.130.0000.00720.06
8.1.120.0030.00317.45
8.1.110.0050.00317.38
8.1.100.0040.00417.34
8.1.90.0000.00717.39
8.1.80.0080.00017.35
8.1.70.0080.00017.30
8.1.60.0000.00817.41
8.1.50.0090.00017.39
8.1.40.0040.00417.39
8.1.30.0040.00417.50
8.1.20.0030.00917.54
8.1.10.0000.00717.44
8.1.00.0050.00317.36
8.0.300.0000.00819.69
8.0.290.0000.00816.63
8.0.280.0070.00018.32
8.0.270.0000.00717.15
8.0.260.0000.00722.05
8.0.250.0040.00416.79
8.0.240.0060.00016.82
8.0.230.0040.00416.77
8.0.220.0070.00016.73
8.0.210.0050.00216.87
8.0.200.0060.00016.85
8.0.190.0000.00716.77
8.0.180.0070.00016.72
8.0.170.0040.00416.89
8.0.160.0000.00716.70
8.0.150.0070.00016.80
8.0.140.0040.00416.69
8.0.130.0000.00613.22
8.0.120.0000.00816.69
8.0.110.0070.00016.72
8.0.100.0040.00416.82
8.0.90.0000.00716.77
8.0.80.0050.00916.79
8.0.70.0050.00216.76
8.0.60.0000.00816.69
8.0.50.0000.00716.76
8.0.30.0090.01016.90
8.0.20.0070.01217.04
8.0.10.0070.00016.77
8.0.00.0110.01216.62
7.4.330.0050.00016.73
7.4.320.0030.00316.45
7.4.300.0030.00316.41
7.4.290.0070.00016.43
7.4.280.0030.00516.43
7.4.270.0040.00416.44
7.4.260.0000.00613.20
7.4.250.0080.00016.34
7.4.240.0040.00316.49
7.4.230.0070.00016.27
7.4.220.0070.00016.42
7.4.210.0070.00716.44
7.4.200.0000.00816.27
7.4.130.0070.01016.45
7.4.120.0150.00616.47
7.4.110.0150.00816.47
7.4.100.0150.00616.45
7.4.90.0100.00716.30
7.4.80.0070.01019.39
7.4.70.0070.01116.50
7.4.60.0030.01316.61
7.4.50.0030.01316.39
7.4.40.0150.00616.31
7.4.00.0040.01314.89
7.3.330.0030.00316.19
7.3.320.0040.00412.89
7.3.310.0040.00416.27
7.3.300.0000.00816.13
7.3.290.0060.00616.12
7.3.280.0030.01716.09
7.3.260.0100.00716.28
7.3.240.0090.00816.21
7.3.230.0170.00316.52
7.3.210.0090.01216.08
7.3.200.0070.01116.11
7.3.190.0080.00816.15
7.3.180.0100.00716.12
7.3.170.0190.00316.22
7.3.160.0100.01116.17
7.3.120.0040.01214.90
7.3.110.0030.01314.39
7.3.100.0040.01214.39
7.3.90.0060.00914.46
7.3.80.0040.00914.48
7.3.70.0080.00514.61
7.3.60.0080.00714.57
7.3.50.0040.00714.71
7.3.40.0110.00414.51
7.3.30.0090.00714.47
7.3.20.0290.01015.39
7.3.10.0120.01215.50
7.3.00.0160.00615.66
7.2.330.0090.00916.32
7.2.320.0120.00816.41
7.2.310.0100.01016.47
7.2.300.0150.00016.30
7.2.290.0160.00016.42
7.2.250.0040.01414.89
7.2.240.0070.01114.77
7.2.230.0030.00914.64
7.2.220.0030.01315.03
7.2.210.0040.01114.72
7.2.200.0080.00614.74
7.2.190.0080.01114.65
7.2.180.0080.00614.91
7.2.170.0100.00614.63
7.2.160.0060.01314.85
7.2.150.0200.01214.77
7.2.140.0230.00714.89
7.2.130.0280.00314.81
7.2.120.0250.00314.82
7.2.110.0210.00914.67
7.2.100.0130.01314.92
7.2.90.0160.01314.81
7.2.80.0200.01014.64
7.2.70.0180.01214.89
7.2.60.0170.00714.72
7.2.50.0130.01014.66
7.2.40.0150.00914.97
7.2.30.0160.01314.76
7.2.20.0180.01514.79
7.2.10.0220.00714.82
7.2.00.0230.01014.81
7.1.330.0030.01315.94
7.1.320.0070.00715.64
7.1.310.0160.00714.66
7.1.300.0520.00614.67
7.1.290.0110.01114.78
7.1.280.0120.00514.65
7.1.270.0150.00514.67
7.1.260.0150.00614.84
7.1.250.0130.00913.96

preferences:
29.47 ms | 403 KiB | 5 Q