3v4l.org

run code in 300+ PHP versions simultaneously
<?php $result = '{"results":[{"id":83213964,"domainId":648668,"name":"pc-gear.nl","type":"SOA","content":"een.dnssrv.nl hostmaster@neostrada.nl 2019102501","ttl":3600,"prio":0},{"id":83213965,"domainId":648668,"name":"pc-gear.nl","type":"NS","content":"een.dnssrv.nl","ttl":3600,"prio":0},{"id":83213966,"domainId":648668,"name":"pc-gear.nl","type":"NS","content":"twee.dnssrv.nl","ttl":3600,"prio":0},{"id":83213968,"domainId":648668,"name":"pc-gear.nl","type":"A","content":"185.87.187.226","ttl":3600,"prio":0},{"id":83213969,"domainId":648668,"name":"localhost.pc-gear.nl","type":"A","content":"127.0.0.1","ttl":3600,"prio":0},{"id":83213970,"domainId":648668,"name":"*.pc-gear.nl","type":"A","content":"185.87.187.226","ttl":3600,"prio":0},{"id":83213971,"domainId":648668,"name":"www.pc-gear.nl","type":"A","content":"185.87.187.226","ttl":3600,"prio":0},{"id":83213972,"domainId":648668,"name":"mail.pc-gear.nl","type":"A","content":"185.87.187.226","ttl":3600,"prio":0},{"id":83213973,"domainId":648668,"name":"webmail.pc-gear.nl","type":"A","content":"185.87.187.226","ttl":3600,"prio":0},{"id":83213974,"domainId":648668,"name":"cpanel.pc-gear.nl","type":"A","content":"185.87.187.226","ttl":3600,"prio":0},{"id":83213975,"domainId":648668,"name":"pc-gear.nl","type":"AAAA","content":"2a00:f10:305:0:1c00:9fff:fe00:51a","ttl":3600,"prio":0},{"id":83213976,"domainId":648668,"name":"*.pc-gear.nl","type":"AAAA","content":"2a00:f10:305:0:1c00:9fff:fe00:51a","ttl":3600,"prio":0},{"id":83213977,"domainId":648668,"name":"www.pc-gear.nl","type":"AAAA","content":"2a00:f10:305:0:1c00:9fff:fe00:51a","ttl":3600,"prio":0},{"id":83213978,"domainId":648668,"name":"mail.pc-gear.nl","type":"AAAA","content":"2a00:f10:305:0:1c00:9fff:fe00:51a","ttl":3600,"prio":0},{"id":83213979,"domainId":648668,"name":"_dmarc.pc-gear.nl","type":"TXT","content":"v=DMARC1; p=none;","ttl":3600,"prio":0},{"id":83213980,"domainId":648668,"name":"pc-gear.nl","type":"MX","content":"mail.pc-gear.nl","ttl":3600,"prio":10},{"id":83213981,"domainId":648668,"name":"pc-gear.nl","type":"TXT","content":"v=spf1 a mx include:spf.totaalholding.nl ip4:185.87.187.226 -all","ttl":3600,"prio":0},{"id":92619388,"domainId":648668,"name":"pc-gear.nl","type":"NS","content":"drie.dnssrv.nl","ttl":3600,"prio":0}]}'; $data = json_decode($result,true); echo $data['results'][0]['type']; print_r(array_column($data['results'],'type'));

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.5.10.0080.01016.81
8.5.00.0120.01020.11
8.4.150.0020.00014.05
8.4.140.0090.01117.86
8.4.130.0120.00817.71
8.4.120.0140.00620.41
8.4.110.0090.01222.21
8.4.100.0130.00617.73
8.4.90.0100.01120.62
8.4.80.0130.00619.63
8.4.70.0140.00717.63
8.4.60.0110.00918.85
8.4.50.0100.01020.47
8.4.40.0030.01419.49
8.4.30.0070.01422.52
8.4.20.0100.01018.83
8.4.10.0040.00417.89
8.3.280.0110.00818.39
8.3.270.0120.00816.42
8.3.260.0110.00816.29
8.3.250.0100.00918.82
8.3.240.0110.00816.52
8.3.230.0130.00616.75
8.3.220.0060.01218.91
8.3.210.0080.00720.88
8.3.200.0060.00416.37
8.3.190.0090.00517.20
8.3.180.0110.00718.45
8.3.170.0120.00617.23
8.3.160.0100.00918.41
8.3.150.0160.00316.65
8.3.140.0030.00616.88
8.3.130.0090.00018.17
8.3.120.0060.00318.80
8.3.110.0000.00820.94
8.3.100.0060.00616.74
8.3.90.0070.00716.62
8.3.80.0060.00318.18
8.3.70.0110.01118.43
8.3.60.0180.00018.31
8.3.50.0070.00917.33
8.3.40.0040.01118.84
8.3.30.0040.01118.84
8.3.20.0040.00421.91
8.3.10.0040.00423.61
8.3.00.0050.00320.70
8.2.290.0070.01020.34
8.2.280.0110.00818.43
8.2.270.0070.00317.21
8.2.260.0140.00416.61
8.2.250.0030.00516.57
8.2.240.0050.00317.44
8.2.230.0090.00622.58
8.2.220.0060.00324.06
8.2.210.0090.00326.77
8.2.200.0040.00418.38
8.2.190.0030.01616.75
8.2.180.0120.00618.29
8.2.170.0140.00022.96
8.2.160.0060.00920.29
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0000.00726.16
8.2.110.0090.00020.32
8.2.100.0030.01017.78
8.2.90.0080.00018.03
8.2.80.0030.00617.97
8.2.70.0000.00817.63
8.2.60.0050.00318.04
8.2.50.0050.00318.07
8.2.40.0040.00419.89
8.2.30.0040.00418.14
8.2.20.0040.00418.45
8.2.10.0000.00719.34
8.2.00.0000.00719.19
8.1.330.0130.00621.81
8.1.320.0090.01216.00
8.1.310.0030.01318.11
8.1.300.0040.01117.52
8.1.290.0060.00318.88
8.1.280.0140.00325.92
8.1.270.0060.00322.21
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0060.00320.73
8.1.230.0080.00322.75
8.1.220.0040.00417.74
8.1.210.0050.00318.85
8.1.200.0060.00317.35
8.1.190.0030.00517.23
8.1.180.0030.00618.10
8.1.170.0040.00418.84
8.1.160.0000.00818.83
8.1.150.0040.00418.82
8.1.140.0070.00020.76
8.1.130.0000.00720.07
8.1.120.0050.00217.37
8.1.110.0000.00717.39
8.1.100.0050.00317.40
8.1.90.0030.00317.32
8.1.80.0020.00517.38
8.1.70.0000.00717.26
8.1.60.0070.00317.37
8.1.50.0040.00417.47
8.1.40.0060.00317.43
8.1.30.0000.00717.66
8.1.20.0040.00417.51
8.1.10.0030.00617.57
8.1.00.0060.00317.55
8.0.300.0050.00219.98
8.0.290.0050.00216.75
8.0.280.0030.00518.45
8.0.270.0040.00417.14
8.0.260.0030.00320.13
8.0.250.0040.00416.95
8.0.240.0000.00716.97
8.0.230.0040.00316.92
8.0.220.0000.00716.71
8.0.210.0040.00416.88
8.0.200.0000.00716.74
8.0.190.0040.00416.79
8.0.180.0050.00216.84
8.0.170.0060.00516.86
8.0.160.0020.00516.85
8.0.150.0040.00416.71
8.0.140.0050.00316.69
8.0.130.0060.00313.35
8.0.120.0040.00416.82
8.0.110.0070.00016.86
8.0.100.0040.00416.82
8.0.90.0060.00316.75
8.0.80.0110.00816.77
8.0.70.0070.00016.67
8.0.60.0040.00416.84
8.0.50.0030.00616.72
8.0.30.0070.01017.29
8.0.20.0090.01217.07
8.0.10.0040.00416.95
8.0.00.0070.01016.70
7.4.330.0050.00015.55
7.4.320.0000.00716.45
7.4.300.0000.00616.57
7.4.290.0030.00616.57
7.4.280.0000.00916.36
7.4.270.0000.00616.55
7.4.260.0060.00013.12
7.4.250.0000.00716.36
7.4.240.0030.00516.51
7.4.230.0000.00716.52
7.4.220.0050.00216.61
7.4.210.0070.01016.46
7.4.200.0050.00316.46
7.4.130.0120.00616.50
7.4.120.0150.00416.59
7.4.110.0060.01016.48
7.4.100.0040.01316.36
7.4.90.0120.00416.47
7.4.80.0100.00719.39
7.4.70.0090.00616.30
7.4.60.0070.01316.42
7.4.50.0030.00916.58
7.4.40.0090.00916.45
7.4.10.0040.01516.39
7.4.00.0080.01015.49
7.3.330.0000.00816.03
7.3.320.0000.00512.91
7.3.310.0050.00216.17
7.3.300.0030.00316.24
7.3.290.0080.00816.28
7.3.280.0080.01216.06
7.3.260.0090.01016.36
7.3.230.0090.01216.27
7.3.210.0100.00716.30
7.3.200.0120.00616.23
7.3.190.0060.01516.27
7.3.180.0120.00316.32
7.3.170.0080.01116.45
7.3.160.0030.01416.28
7.3.130.0100.01016.27
7.3.120.0140.00416.57
7.3.110.0110.00316.39
7.3.100.0020.01415.33
7.3.90.0110.00715.46
7.3.80.0120.00515.51
7.3.70.0070.01215.54
7.3.60.0050.00915.39
7.3.50.0090.00515.43
7.3.40.0130.00715.44
7.3.30.0100.00715.45
7.3.20.0080.00516.38
7.3.10.0100.00816.46
7.3.00.0060.00816.34
7.2.330.0060.01216.38
7.2.320.0110.01116.73
7.2.310.0060.01016.71
7.2.300.0080.01616.77
7.2.290.0060.00916.71
7.2.260.0090.01216.38
7.2.250.0100.00716.54
7.2.240.0070.00716.38
7.2.230.0130.00515.72
7.2.220.0100.00915.72
7.2.210.0110.00815.89
7.2.200.0060.01115.64
7.2.190.0020.01415.78
7.2.180.0090.00815.62
7.2.170.0080.01315.72
7.2.160.0100.00815.76
7.2.150.0040.01216.71
7.2.140.0080.00916.57
7.2.130.0030.01116.61
7.2.120.0070.01016.78
7.2.110.0120.00716.58
7.2.100.0120.00716.66
7.2.90.0090.00616.73
7.2.80.0110.00616.50
7.2.70.0050.01016.73
7.2.60.0130.00816.65
7.2.50.0080.00816.74
7.2.40.0100.00616.77
7.2.30.0090.00816.69
7.2.20.0120.00716.71
7.2.10.0100.00416.55
7.2.00.0060.01016.64
7.1.330.0000.01417.30
7.1.320.0050.01015.60
7.1.310.0100.00715.69
7.1.300.0090.00515.64
7.1.290.0120.00415.66
7.1.280.0030.01415.55
7.1.270.0110.00315.68
7.1.260.0080.00915.62
7.1.250.0040.01415.59
7.1.240.0000.00917.36
7.1.230.0110.00417.30
7.1.220.0030.00617.11
7.1.210.0080.00017.29
7.1.200.0030.00717.26
7.1.190.0060.00917.19
7.1.180.0000.00917.10
7.1.170.0090.00317.26
7.1.160.0080.00817.25
7.1.150.0110.00017.32
7.1.140.0040.01117.27
7.1.130.0040.00817.07
7.1.120.0000.01117.32
7.1.110.0060.00617.43
7.1.100.0090.00617.43
7.1.90.0070.00717.42
7.1.80.0030.00617.22
7.1.70.0060.00617.22
7.1.60.0060.00817.30
7.1.50.0000.01017.23
7.1.40.0030.00617.36
7.1.30.0030.00917.39
7.1.20.0060.00617.33
7.1.10.0100.00017.42
7.1.00.0090.00317.24

preferences:
39.16 ms | 403 KiB | 5 Q