3v4l.org

run code in 300+ PHP versions simultaneously
<?php $urls = [ 'https://google.com/', 'https://bing.com/' ]; $names = [ 'Google', 'Bing' ]; $combined = array_map( fn($url, $name) => ['url' => $domain, 'name' => $name], $urls, $names ); echo(json_encode($combined));

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.01118.55
8.3.50.0070.00718.14
8.3.40.0100.01022.04
8.3.30.0090.00618.81
8.3.20.0070.00024.18
8.3.10.0040.00424.66
8.3.00.0090.00026.16
8.2.180.0100.00625.92
8.2.170.0080.00619.08
8.2.160.0070.00722.96
8.2.150.0000.00725.66
8.2.140.0070.00324.66
8.2.130.0030.00726.16
8.2.120.0050.00319.79
8.2.110.0050.00522.34
8.2.100.0080.00318.03
8.2.90.0000.00819.21
8.2.80.0030.00518.01
8.2.70.0050.00319.77
8.2.60.0000.00818.09
8.2.50.0040.00418.10
8.2.40.0000.00819.30
8.2.30.0040.00419.13
8.2.20.0000.00818.04
8.2.10.0040.00419.36
8.2.00.0000.00719.18
8.1.280.0040.01125.92
8.1.270.0060.00322.13
8.1.260.0040.00426.35
8.1.250.0050.00228.09
8.1.240.0060.00323.83
8.1.230.0070.00419.20
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0030.00617.23
8.1.190.0040.00417.35
8.1.180.0000.00818.10
8.1.170.0070.00318.59
8.1.160.0040.00419.00
8.1.150.0000.00718.79
8.1.140.0080.00018.92
8.1.130.0070.00017.38
8.1.120.0030.00317.50
8.1.110.0000.00817.47
8.1.100.0000.00717.49
8.1.90.0040.00417.34
8.1.80.0000.00917.38
8.1.70.0030.00617.42
8.1.60.0060.00317.58
8.1.50.0040.00417.44
8.1.40.0000.00817.46
8.1.30.0100.00017.59
8.1.20.0000.00917.50
8.1.10.0030.00517.51
8.1.00.0000.01017.38
8.0.300.0060.00318.77
8.0.290.0000.00717.04
8.0.280.0070.00018.33
8.0.270.0080.00016.84
8.0.260.0030.00316.98
8.0.250.0000.00616.90
8.0.240.0030.00316.99
8.0.230.0000.00716.89
8.0.220.0030.00816.90
8.0.210.0000.00816.95
8.0.200.0030.00516.96
8.0.190.0000.00716.87
8.0.180.0040.00416.97
8.0.170.0000.00816.78
8.0.160.0000.00816.97
8.0.150.0000.00816.90
8.0.140.0040.00416.89
8.0.130.0030.00313.38
8.0.120.0030.00616.86
8.0.110.0000.00716.82
8.0.100.0000.00716.95
8.0.90.0040.00416.78
8.0.80.0090.01116.92
8.0.70.0070.00016.89
8.0.60.0070.00016.96
8.0.50.0000.00716.89
8.0.30.0060.01016.90
8.0.20.0080.01117.15
8.0.10.0040.00416.95
8.0.00.0130.00616.88
7.4.330.0070.00015.55
7.4.320.0000.00616.59
7.4.300.0040.00416.56
7.4.290.0030.00316.43
7.4.280.0080.00016.62
7.4.270.0030.00516.38
7.4.260.0000.00513.16
7.4.250.0070.00016.31
7.4.240.0070.00016.51
7.4.230.0000.00716.41
7.4.220.0020.00516.53
7.4.210.0110.00716.49
7.4.200.0040.00516.39
7.4.130.0090.00816.55
7.4.120.0080.01516.49
7.4.110.0110.01316.39
7.4.100.0130.00916.33
7.4.90.0160.01116.35
7.4.80.0120.01016.47
7.4.70.0150.00916.58
7.4.60.0130.01416.40
7.4.50.0170.00616.41
7.4.40.0250.00016.67
7.4.30.0090.00916.37
7.4.20.0150.00716.41
7.4.10.0070.01716.34
7.4.00.0060.01716.58
7.3.330.0000.00716.13
7.3.320.0000.00613.19
7.3.310.0030.00316.11
7.3.300.0030.00316.15
7.3.290.0060.00916.15
7.3.260.0060.01216.42
7.3.240.0050.01716.19
7.3.230.0160.00516.21
7.3.220.0100.01316.40
7.3.210.0070.01916.34
7.3.200.0170.00716.29
7.3.190.0110.01416.26
7.3.180.0070.01516.18
7.3.170.0060.01816.25
7.3.160.0080.00816.12
7.3.150.0160.00316.14
7.3.140.0070.01116.11
7.3.130.0160.00716.41
7.3.120.0030.01816.11
7.3.110.0110.00716.10
7.3.100.0100.00716.35
7.3.90.0060.01216.18
7.3.80.0100.00716.21
7.3.70.0130.00616.22
7.3.60.0090.00916.15
7.3.50.0100.01016.14
7.3.40.0070.01016.20
7.3.30.0090.00916.23
7.3.20.0160.00316.21
7.3.10.0120.00916.20
7.3.00.0120.01316.27
7.2.340.0190.00716.54
7.2.330.0130.01016.42
7.2.320.0230.00316.40
7.2.310.0150.00916.39
7.2.300.0170.00916.20
7.2.290.0070.01116.41
7.2.280.0140.00616.20
7.2.270.0070.01516.45
7.2.260.0110.01116.23
7.2.250.0100.01416.21
7.2.240.0080.01216.52
7.2.230.0120.00716.28
7.2.220.0090.00916.15
7.2.210.0130.00716.51
7.2.200.0120.00616.46
7.2.190.0060.01416.47
7.2.180.0110.00816.40
7.2.170.0110.00716.20
7.2.160.0070.01016.18
7.2.150.0130.00916.48
7.2.140.0070.01316.42
7.2.130.0140.01016.42
7.2.120.0120.01216.39
7.2.110.0090.00916.42
7.2.100.0050.01416.28
7.2.90.0110.00816.38
7.2.80.0120.01516.37
7.2.70.0080.01216.36
7.2.60.0090.00916.34
7.2.50.0130.01016.30
7.2.40.0120.00816.39
7.2.30.0120.00616.35
7.2.20.0070.01116.44
7.2.10.0150.00616.35
7.2.00.0270.01416.41

preferences:
31.14 ms | 401 KiB | 5 Q