3v4l.org

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

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.4.120.0050.00323.96
8.4.110.0070.00719.30
8.4.100.0100.01118.79
8.4.90.0080.01218.61
8.4.80.0120.00618.71
8.4.70.0080.00117.94
8.4.60.0030.00617.67
8.4.50.0140.00519.45
8.4.40.0100.01018.47
8.4.30.0160.00318.41
8.4.20.0120.00619.60
8.4.10.0200.00019.07
8.3.250.0100.00918.67
8.3.240.0120.00717.34
8.3.230.0150.00816.45
8.3.220.0120.00518.92
8.3.210.0100.00616.44
8.3.200.0060.00316.56
8.3.190.0100.00718.64
8.3.180.0050.00316.73
8.3.170.0140.00419.03
8.3.160.0060.01316.53
8.3.150.0060.00316.41
8.3.140.0040.00417.32
8.3.130.0060.00318.48
8.3.120.0040.00418.86
8.3.110.0030.00620.94
8.3.100.0140.00716.61
8.3.90.0040.00426.77
8.3.80.0040.00417.97
8.3.70.0000.01518.53
8.3.60.0100.00718.15
8.3.50.0060.01218.23
8.3.40.0040.01122.07
8.3.30.0040.01421.73
8.3.20.0040.00424.18
8.3.10.0080.00024.66
8.3.00.0000.00826.16
8.2.290.0120.00720.32
8.2.280.0100.00518.17
8.2.270.0060.00917.04
8.2.260.0120.00620.05
8.2.250.0030.00618.23
8.2.240.0030.00616.90
8.2.230.0000.00822.58
8.2.220.0040.00424.06
8.2.210.0080.00826.77
8.2.200.0090.00018.16
8.2.190.0140.01016.58
8.2.180.0140.00316.50
8.2.170.0040.01119.01
8.2.160.0140.00322.96
8.2.150.0090.00025.66
8.2.140.0090.00024.66
8.2.130.0100.00726.16
8.2.120.0030.00521.06
8.2.110.0140.00722.29
8.2.100.0140.00721.03
8.2.90.0180.00418.95
8.2.80.0210.01418.74
8.2.70.0100.00318.69
8.2.60.0080.00418.72
8.2.50.0130.01018.58
8.2.40.0110.00418.82
8.2.30.0070.00718.78
8.2.20.0250.00418.75
8.2.10.0120.01218.78
8.2.00.0160.00019.16
8.1.330.0100.00823.77
8.1.320.0080.01116.01
8.1.310.0030.00516.48
8.1.300.0110.00819.79
8.1.290.0040.00430.84
8.1.280.0090.00625.92
8.1.270.0040.00423.99
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0140.00018.37
8.1.230.0100.00718.49
8.1.220.0150.00418.54
8.1.210.0060.00919.86
8.1.200.0140.00018.56
8.1.190.0260.00018.14
8.1.180.0090.00618.42
8.1.170.0220.00918.53
8.1.160.0190.00018.50
8.1.150.0150.00420.44
8.1.140.0100.00318.33
8.1.130.0130.00018.48
8.1.120.0120.00018.56
8.1.110.0090.00618.45
8.1.100.0120.00318.63
8.1.90.0150.00018.32
8.1.80.0110.00318.63
8.1.70.0230.00718.89
8.1.60.0180.00618.52
8.1.50.0180.01118.41
8.1.40.0170.00618.79
8.1.30.0050.00918.85
8.1.20.0140.00318.86
8.1.10.0090.00418.48
8.1.00.0030.00918.23
8.0.300.0140.00417.86
8.0.290.0100.00317.83
8.0.280.0100.00317.70
8.0.270.0110.00417.84
8.0.260.0070.00718.34
8.0.250.0120.00317.91
8.0.240.0140.00017.84
8.0.230.0120.00018.25
8.0.220.0120.00317.64
8.0.210.0110.00417.82
8.0.200.0090.00617.87
8.0.190.0100.00318.25
8.0.180.0170.00717.87
8.0.170.0090.00617.83
8.0.160.0130.00317.88
8.0.150.0130.00317.71
8.0.140.0090.00617.55
8.0.130.0040.00818.16
8.0.120.0160.00017.74
8.0.110.0110.00417.93
8.0.100.0120.00417.91
8.0.90.0100.00617.93
8.0.80.0150.00017.88
8.0.70.0130.00317.88
8.0.60.0120.00018.27
8.0.50.0120.00317.83
8.0.30.0100.00218.29
8.0.20.0100.00517.91
8.0.10.0140.00017.99

preferences:
26.21 ms | 403 KiB | 5 Q