3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '[ { "guid": "12", "firstName": "James", "middleName": "", "gender": "male", "additional": { "skype": "", "phones": [], "sipPhones": [], "birthDate": "1970-06-02", "startWithCustomer": "2015-12-07", "endOfProbation": "2016-03-07", "Place": [ { "label": "abc", "link": "http://" }, { "label": "cde", "link": "http://" } ] } }]'; $user = json_decode($json, true); $lastPlace = end($user[0]['additional']['Place']); var_dump($lastPlace);

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.30.0110.01020.32
8.5.20.0090.00820.13
8.5.10.0110.00520.16
8.5.00.0110.01219.78
8.4.180.0150.00719.45
8.4.170.0090.01320.63
8.4.160.0120.00623.90
8.4.150.0060.00616.83
8.4.140.0140.00917.70
8.4.130.0100.00618.71
8.4.120.0100.00924.09
8.4.110.0050.00418.75
8.4.100.0120.00818.92
8.4.90.0040.00420.49
8.4.80.0110.00618.70
8.4.70.0040.00418.98
8.4.60.0100.01019.02
8.4.50.0080.01318.61
8.4.40.0040.00419.46
8.4.30.0110.00717.64
8.4.20.0120.00817.52
8.4.10.0060.00319.39
8.3.300.0130.00820.71
8.3.290.0050.00420.71
8.3.280.0120.00918.39
8.3.270.0130.00616.54
8.3.260.0100.00816.75
8.3.250.0120.00618.76
8.3.240.0090.00916.80
8.3.230.0100.01016.49
8.3.220.0060.00318.71
8.3.210.0060.00216.52
8.3.200.0130.00816.75
8.3.190.0100.00918.68
8.3.180.0140.00418.76
8.3.170.0060.00916.53
8.3.160.0140.00417.10
8.3.150.0110.00419.21
8.3.140.0080.00020.75
8.3.130.0060.00318.28
8.3.120.0030.00618.93
8.3.110.0050.00320.94
8.3.100.0030.00716.55
8.3.90.0040.00426.77
8.3.80.0090.00016.38
8.3.70.0110.00416.62
8.3.60.0100.01016.75
8.3.50.0120.00721.07
8.3.40.0120.00618.76
8.3.30.0070.01418.70
8.3.20.0080.00018.83
8.3.10.0050.00223.61
8.3.00.0040.00421.81
8.2.300.0100.01224.02
8.2.290.0110.00916.46
8.2.280.0090.00918.61
8.2.270.0070.01017.39
8.2.260.0080.00016.43
8.2.250.0000.00816.49
8.2.240.0080.00017.05
8.2.230.0040.00422.58
8.2.220.0030.00624.06
8.2.210.0040.00426.77
8.2.200.0070.00316.63
8.2.190.0070.01316.75
8.2.180.0110.00718.05
8.2.170.0040.01119.09
8.2.160.0140.00322.96
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0130.00319.36
8.2.110.0030.00620.99
8.2.100.0060.00517.72
8.2.90.0080.00019.16
8.2.80.0030.00517.97
8.2.70.0050.00317.63
8.2.60.0040.00418.05
8.2.50.0090.00318.10
8.2.40.0000.00820.65
8.2.30.0070.00319.18
8.2.20.0050.00317.97
8.2.10.0000.00717.99
8.2.00.0040.00417.73
8.1.340.0090.01121.77
8.1.330.0110.00916.14
8.1.320.0120.00717.70
8.1.310.0060.01216.20
8.1.300.0080.00018.42
8.1.290.0040.00830.84
8.1.280.0120.00325.92
8.1.270.0040.00423.92
8.1.260.0090.00626.35
8.1.250.0040.00428.09
8.1.240.0060.00324.02
8.1.230.0070.00417.58
8.1.220.0060.00317.74
8.1.210.0040.00418.77
8.1.200.0070.00317.23
8.1.190.0040.00417.23
8.1.180.0040.00418.10
8.1.170.0040.00418.72
8.1.160.0000.00723.92
8.1.150.0080.00020.52
8.1.140.0000.00819.47
8.1.130.0030.00617.64
8.1.120.0070.00017.44
8.1.110.0000.00817.38
8.1.100.0020.00517.28
8.1.90.0040.00417.38
8.1.80.0000.00717.47
8.1.70.0000.00717.38
8.1.60.0000.00717.50
8.1.50.0050.00317.47
8.1.40.0040.00717.50
8.1.30.0060.00317.63
8.1.20.0000.00717.40
8.1.10.0040.00417.41
8.1.00.0000.00717.46
8.0.300.0040.00418.77
8.0.290.0000.00716.59
8.0.280.0000.00718.30
8.0.270.0000.00717.19
8.0.260.0000.00817.13
8.0.250.0000.00716.78
8.0.240.0060.00316.78
8.0.230.0000.00716.77
8.0.220.0080.00016.82
8.0.210.0000.00716.81
8.0.200.0060.00016.86
8.0.190.0050.00316.89
8.0.180.0030.00516.87
8.0.170.0080.00016.85
8.0.160.0070.00016.89
8.0.150.0000.00816.83
8.0.140.0030.00516.78
8.0.130.0000.00613.25
8.0.120.0060.00316.71
8.0.110.0040.00416.89
8.0.100.0000.00816.86
8.0.90.0050.00216.66
8.0.80.0030.01516.89
8.0.70.0040.00416.73
8.0.60.0000.00716.89
8.0.50.0000.00716.92
8.0.30.0110.00816.99
8.0.20.0110.01217.40
8.0.10.0000.00816.73
8.0.00.0070.01116.85
7.4.330.0000.00615.55
7.4.320.0000.00716.45
7.4.300.0030.00316.54
7.4.290.0000.00716.41
7.4.280.0000.00816.52
7.4.270.0030.00316.44
7.4.260.0050.00316.43
7.4.250.0070.00016.50
7.4.240.0020.00516.46
7.4.230.0000.00716.43
7.4.220.0090.00616.54
7.4.210.0130.00716.43
7.4.200.0040.00416.28
7.4.160.0070.01216.30
7.4.150.0220.00617.40
7.4.140.0100.00717.86
7.4.130.0150.00616.46
7.4.120.0080.01116.58
7.4.110.0000.02016.44
7.4.100.0120.00316.40
7.4.90.0090.00916.40
7.4.80.0060.01019.39
7.4.70.0110.00516.40
7.4.60.0120.00416.35
7.4.50.0100.00316.26
7.4.40.0030.01316.39
7.4.30.0100.01016.45
7.4.00.0110.00714.89
7.3.330.0030.00313.04
7.3.320.0050.00013.07
7.3.310.0070.00016.21
7.3.300.0000.00716.25
7.3.290.0070.00616.18
7.3.280.0140.00616.18
7.3.270.0090.00917.40
7.3.260.0110.01016.42
7.3.250.0100.00716.45
7.3.240.0070.01516.46
7.3.230.0100.00716.39
7.3.210.0090.00916.36
7.3.200.0130.00316.39
7.3.190.0030.01616.20
7.3.180.0060.01416.28
7.3.170.0200.00016.39
7.3.160.0100.00716.34
7.2.330.0050.01616.73
7.2.320.0100.01016.29
7.2.310.0030.01316.64
7.2.300.0120.01216.68
7.2.290.0120.00616.64
7.2.60.0060.00916.97
7.2.50.0060.01017.00
7.2.00.0060.00919.51
7.1.200.0150.00815.34
7.1.70.0060.00317.06
7.1.60.0060.00617.18
7.1.00.0100.07022.57
7.0.200.0070.00314.58
7.0.120.0170.07722.14
7.0.110.0100.06322.07
7.0.100.0100.05722.05
7.0.90.0330.06722.22
7.0.80.0070.06322.03
7.0.70.0130.06022.06
7.0.60.0100.05322.00
7.0.50.0030.06022.07
7.0.40.0030.06322.16
7.0.30.0100.05722.12
7.0.20.0170.05722.03
7.0.10.0100.07721.98
7.0.00.0070.06321.97
5.6.270.0130.05720.88
5.6.260.0130.05720.88
5.6.250.0170.05021.06
5.6.240.0100.06321.11
5.6.230.0230.06720.80
5.6.220.0100.06020.85
5.6.210.0030.06020.96
5.6.200.0100.05721.09
5.6.190.0170.05021.02
5.6.180.0130.05320.86
5.6.170.0130.05020.93
5.6.160.0170.05021.04
5.6.150.0130.07721.00
5.6.140.0130.05720.94
5.6.130.0100.05320.79
5.6.120.0130.05021.02
5.6.110.0200.05020.80
5.6.100.0070.06020.82
5.6.90.0100.05020.92
5.6.80.0100.05020.45
5.6.70.0070.05720.36
5.6.60.0030.06020.41
5.6.50.0100.05020.39
5.6.40.0200.04720.39
5.6.30.0130.05020.19
5.6.20.0100.05020.43
5.6.10.0130.04720.35
5.6.00.0030.06020.08

preferences:
119.48 ms | 1527 KiB | 5 Q