3v4l.org

run code in 300+ PHP versions simultaneously
<?php $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.3.140.0070.00716.84
8.3.130.0000.00818.67
8.3.120.0090.00020.67
8.3.110.0030.00716.84
8.3.100.0110.00816.61
8.3.90.0200.00026.77
8.3.80.0090.00018.56
8.3.70.0070.00716.63
8.3.60.0040.01118.52
8.3.50.0090.00620.24
8.3.40.0070.00718.89
8.3.30.0110.00718.97
8.3.20.0000.00924.18
8.3.10.0000.00824.66
8.3.00.0070.00026.16
8.2.250.0040.00416.86
8.2.240.0000.00817.20
8.2.230.0070.00020.94
8.2.220.0030.00724.06
8.2.210.0040.00426.77
8.2.200.0100.00018.29
8.2.190.0070.01416.88
8.2.180.0100.00725.92
8.2.170.0120.00618.91
8.2.160.0070.00722.96
8.2.150.0080.00025.66
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00420.95
8.2.110.0100.00020.53
8.2.100.0110.00017.91
8.2.90.0030.00517.63
8.2.80.0070.00417.97
8.2.70.0030.00517.63
8.2.60.0000.00817.50
8.2.50.0060.00318.10
8.2.40.0000.00719.34
8.2.30.0060.00318.11
8.2.20.0070.00020.29
8.2.10.0070.00018.02
8.2.00.0000.01019.29
8.1.300.0090.00918.33
8.1.290.0050.00530.84
8.1.280.0140.00725.92
8.1.270.0090.00022.16
8.1.260.0060.00326.35
8.1.250.0000.00728.09
8.1.240.0030.00623.90
8.1.230.0110.00020.97
8.1.220.0050.00317.79
8.1.210.0030.00518.77
8.1.200.0080.00017.36
8.1.190.0060.00317.25
8.1.180.0000.00818.10
8.1.170.0000.00918.63
8.1.160.0000.00818.80
8.1.150.0000.00818.54
8.1.140.0040.00417.47
8.1.130.0000.00718.87
8.1.120.0000.00717.35
8.1.110.0000.00717.32
8.1.100.0000.00817.46
8.1.90.0030.00517.44
8.1.80.0000.00717.36
8.1.70.0050.00517.43
8.1.60.0090.00917.49
8.1.50.0100.00917.55
8.1.40.0220.00017.49
8.1.30.0060.01117.52
8.1.20.0090.00917.49
8.1.10.0190.00017.52
8.1.00.0160.00417.36
8.0.300.0000.00718.77
8.0.290.0000.00716.75
8.0.280.0030.00318.36
8.0.270.0070.00017.99
8.0.260.0030.00518.27
8.0.250.0040.00416.80
8.0.240.0030.00316.93
8.0.230.0080.00016.93
8.0.220.0040.00416.91
8.0.210.0040.00416.79
8.0.200.0110.00416.91
8.0.190.0100.00516.80
8.0.180.0090.00916.74
8.0.170.0100.00817.03
8.0.160.0150.00316.76
8.0.150.0160.00316.85
8.0.140.0130.00616.93
8.0.130.0160.00316.77
8.0.120.0100.00716.88
8.0.110.0170.00016.91
8.0.100.0160.00016.84
8.0.90.0160.00316.82
8.0.80.0070.01116.82
8.0.70.0190.00016.67
8.0.60.0100.00716.92
8.0.50.0130.00316.73
8.0.30.0160.00016.77
8.0.20.0050.01116.96
8.0.10.0080.00717.05
7.4.330.0040.00015.55
7.4.320.0030.00316.48
7.4.300.0130.00616.35
7.4.290.0180.00016.50
7.4.280.0120.00616.60
7.4.270.0100.01116.52
7.4.260.0160.00316.41
7.4.250.0110.00816.57
7.4.240.0140.00416.53
7.4.230.0110.00816.47
7.4.220.0160.00016.57
7.4.210.0110.00716.44
7.4.200.0130.00316.44
7.4.190.0080.00816.55
7.4.180.0140.00016.49
7.4.160.0120.00516.43
7.4.150.0130.00416.54
7.4.140.0080.00916.43
7.4.130.0140.00316.37
7.4.120.0090.00916.38
7.4.110.0130.00416.38
7.4.100.0160.00016.37
7.4.90.0150.00416.33
7.4.80.0130.00316.42
7.4.70.0070.00616.06
7.4.60.0000.00816.37
7.4.50.0040.00416.04
7.4.40.0090.00015.69
7.4.30.0030.00316.09
7.4.20.0090.00016.23
7.4.10.0060.00316.40
7.4.00.0090.00016.18

preferences:
48.59 ms | 403 KiB | 5 Q