3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types = 1); $ipv6 = false; // dns_get_record('...', DNS_AAAA); var_dump(count($ipv6) > 0);

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.10.0130.00723.79
8.3.140.0080.00016.61
8.3.130.0110.00418.45
8.3.120.0080.00018.87
8.3.110.0030.00620.94
8.3.100.0040.00724.06
8.3.90.0000.00826.77
8.3.80.0040.00418.43
8.3.70.0030.01016.63
8.3.60.0060.00918.52
8.3.50.0090.00920.25
8.3.40.0140.00018.67
8.3.30.0070.01119.01
8.3.20.0040.00424.18
8.3.10.0050.00224.66
8.3.00.0070.00026.16
8.2.260.0040.00418.75
8.2.250.0050.00317.01
8.2.240.0060.00317.06
8.2.230.0090.00022.58
8.2.220.0060.00337.54
8.2.210.0040.00426.77
8.2.200.0070.00318.41
8.2.190.0090.01216.63
8.2.180.0100.00725.92
8.2.170.0150.00319.00
8.2.160.0070.00722.96
8.2.150.0000.00825.66
8.2.140.0040.00424.66
8.2.130.0050.00226.16
8.2.120.0080.00020.87
8.2.110.0060.00319.39
8.2.100.0120.00017.91
8.2.90.0000.00818.03
8.2.80.0050.00317.97
8.2.70.0000.00817.63
8.2.60.0000.00817.63
8.2.50.0040.00417.80
8.2.40.0050.00319.23
8.2.30.0000.00717.96
8.2.20.0040.00420.48
8.2.10.0000.00717.98
8.2.00.0030.00719.34
8.1.310.0080.00016.77
8.1.300.0180.00017.95
8.1.290.0030.00630.84
8.1.280.0070.00725.92
8.1.270.0000.00823.99
8.1.260.0050.00326.35
8.1.250.0050.00328.09
8.1.240.0030.00621.30
8.1.230.0070.00320.92
8.1.220.0050.00317.74
8.1.210.0040.00418.93
8.1.200.0050.00517.35
8.1.190.0040.00417.23
8.1.180.0080.00018.10
8.1.170.0030.00617.62
8.1.160.0040.00418.79
8.1.150.0050.00218.54
8.1.140.0050.00217.34
8.1.130.0000.00718.87
8.1.120.0000.00717.34
8.1.110.0040.00417.42
8.1.100.0040.00417.46
8.1.90.0040.00417.45
8.1.80.0070.00017.43
8.1.70.0060.00317.42
8.1.60.0030.00917.46
8.1.50.0000.00917.56
8.1.40.0000.01117.54
8.1.30.0040.00717.66
8.1.20.0040.00517.59
8.1.10.0040.00717.62
8.1.00.0050.00517.48
8.0.300.0040.00419.79
8.0.290.0090.00016.63
8.0.280.0000.00718.27
8.0.270.0040.00416.81
8.0.260.0000.00718.36
8.0.250.0030.00316.93
8.0.240.0030.00316.94
8.0.230.0000.00816.93
8.0.220.0000.00916.77
8.0.210.0070.00016.71
8.0.200.0040.00716.91
8.0.190.0030.00616.95
8.0.180.0070.00416.87
8.0.170.0100.00016.91
8.0.160.0040.00416.92
8.0.150.0050.00516.71
8.0.140.0000.00916.91
8.0.130.0040.00716.92
8.0.120.0080.00016.94
8.0.110.0060.00516.97
8.0.100.0000.01116.80
8.0.90.0070.00416.81
8.0.80.0030.00616.77
8.0.70.0040.00716.98
8.0.60.0060.00316.82
8.0.50.0010.00916.83
8.0.30.0100.00016.83
8.0.20.0040.00817.02
8.0.10.0050.00617.03
7.4.330.0020.00215.55
7.4.320.0000.00616.39
7.4.300.0080.00416.39
7.4.290.0030.00616.49
7.4.280.0060.00616.42
7.4.270.0030.00316.41
7.4.260.0050.00516.48
7.4.250.0000.00916.58
7.4.240.0060.00016.55
7.4.230.0000.00716.50
7.4.220.0000.00616.47
7.4.210.0040.00416.50
7.4.200.0110.00016.48
7.4.190.0000.01016.61
7.4.180.0030.00616.63
7.4.160.0040.00416.55
7.4.150.0090.00616.43
7.4.140.0000.01116.07
7.4.130.0060.00916.42
7.4.120.0060.00616.24
7.4.110.0110.00415.84
7.4.100.0070.00816.23
7.4.90.0110.00416.02
7.4.80.0110.00615.92
7.4.70.0100.00415.88
7.4.60.0100.00316.36
7.4.50.0120.00416.07
7.4.40.0090.00415.61
7.4.30.0110.00415.82
7.4.20.0000.01516.20
7.4.10.0080.00816.17
7.4.00.0110.00516.19

preferences:
26.87 ms | 403 KiB | 5 Q