3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = Array ( 'meta' => Array ( 'code' => 200 , 'type' => 'Success', 'message' => 'Success', ) , 'data' => Array ( 'items' => Array ( '0' => Array ( 'id' => 'b4a235596fd9550dfb69f181f4db007f', 'tracking_number' => 2649884668232181, 'carrier_code' => 'hermes', 'order_create_time' =>'' , 'destination_code' =>'', 'status' => 'delivered' , 'track_update' =>'' , 'original_country' =>'' , 'itemTimeLength' => 7 , 'stayTimeLength' => 74 , 'service_code' =>'' , 'packageStatus' => '', 'substatus' => '', 'last_mile_tracking_supported' => '', 'origin_info' => Array ( 'ItemReceived' => '2019-04-09 09:29', 'ItemDispatched' => '', 'DepartfromAirport' => '', 'ArrivalfromAbroad' => '', 'CustomsClearance' => '', 'DestinationArrived' => '', 'weblink' => 'https://www.hermesworld.com/en/' , 'phone' => '', 'carrier_code' => 'hermes' , 'trackinfo' => Array ( '0' => Array ( 'Date' => '2019-04-15 11:51' , 'StatusDescription' => 'Posted through letterbox' , 'Details' => '', 'checkpoint_status' => 'delivered ' ) , '1' => Array ( 'Date' => '2019-04-15 09:45', 'StatusDescription' => 'Delivery will be attempted between 10:00 and 14:00 today' , 'Details' => '', 'checkpoint_status' => 'transit' ) , '2' => Array ( 'Date' => '2019-04-15 06:39' , 'StatusDescription' => 'On its way to the courier' , 'Details' => '', 'checkpoint_status' => 'transit' ) , '3' => Array ( 'Date' => '2019-04-14 22:33', 'StatusDescription' => 'At the customers local depot' , 'Details' => '', 'checkpoint_status' => 'transit' ) ) ), 'destination_info' => '', 'lastEvent' => 'Posted through letterbox,2019-04-15 11:51', 'lastUpdateTime' => '2019-04-15 11:51' ) ) ) ); foreach($array['data']['items'] as $item){ foreach($item['origin_info']['trackinfo'] as $trackinfo){ echo $trackinfo['checkpoint_status'].PHP_EOL; } }

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.0170.00320.60
8.4.110.0110.00822.59
8.4.100.0060.00517.91
8.4.90.0080.00922.26
8.4.80.0120.00719.37
8.4.70.0040.00418.11
8.4.60.0110.00819.07
8.4.50.0050.00618.77
8.4.40.0090.00917.86
8.4.30.0030.01722.51
8.4.20.0090.00318.97
8.4.10.0070.00319.55
8.3.250.0120.00618.63
8.3.240.0110.00916.65
8.3.230.0130.00716.45
8.3.220.0090.01019.08
8.3.210.0070.00118.23
8.3.200.0060.00316.46
8.3.190.0090.00720.87
8.3.180.0030.00418.36
8.3.170.0130.00317.14
8.3.160.0120.00818.17
8.3.150.0060.01317.06
8.3.140.0090.00617.11
8.3.130.0040.00418.29
8.3.120.0030.00520.68
8.3.110.0050.00320.94
8.3.100.0000.00824.06
8.3.90.0030.00726.77
8.3.80.0060.00318.30
8.3.70.0100.01016.75
8.3.60.0070.00718.55
8.3.50.0080.00818.22
8.3.40.0080.00618.83
8.3.30.0040.01118.70
8.3.20.0040.00420.82
8.3.10.0030.00621.90
8.3.00.0040.00423.61
8.2.290.0100.01020.70
8.2.280.0160.00318.36
8.2.270.0060.01318.93
8.2.260.0040.00416.68
8.2.250.0100.00018.42
8.2.240.0070.00317.26
8.2.230.0000.00822.58
8.2.220.0040.00437.54
8.2.210.0030.00726.77
8.2.200.0060.00318.29
8.2.190.0100.01016.58
8.2.180.0140.00016.35
8.2.170.0120.00322.96
8.2.160.0070.00721.05
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0080.00026.16
8.2.110.0030.00622.13
8.2.100.0080.00417.84
8.2.90.0050.00317.97
8.2.80.0040.00419.17
8.2.70.0060.00317.93
8.2.60.0040.00418.34
8.2.50.0050.00318.10
8.2.40.0050.00319.43
8.2.30.0080.00019.20
8.2.20.0040.00417.95
8.2.10.0030.00519.22
8.2.00.0050.00319.32
8.1.330.0080.01021.95
8.1.320.0100.00815.95
8.1.310.0100.00718.44
8.1.300.0000.00917.85
8.1.290.0060.00318.88
8.1.280.0100.00325.92
8.1.270.0040.00423.90
8.1.260.0070.00026.35
8.1.250.0000.00728.09
8.1.240.0090.00022.61
8.1.230.0070.00420.89
8.1.220.0030.00617.74
8.1.210.0000.00818.77
8.1.200.0030.00617.23
8.1.190.0030.00517.35
8.1.180.0050.00318.10
8.1.170.0050.00518.50
8.1.160.0040.00418.90
8.1.150.0030.00718.90
8.1.140.0040.00418.94
8.1.130.0040.00420.18
8.1.120.0050.00517.34
8.1.110.0030.00717.45
8.1.100.0090.00017.46
8.1.90.0070.00017.36
8.1.80.0000.00717.43
8.1.70.0040.00417.52
8.1.60.0050.00317.49
8.1.50.0040.00417.57
8.1.40.0040.00417.41
8.1.30.0040.00417.59
8.1.20.0070.00317.63
8.1.10.0000.00817.62
8.1.00.0080.00017.41
8.0.300.0000.00720.09
8.0.290.0000.00916.75
8.0.280.0000.00718.46
8.0.270.0030.00317.17
8.0.260.0030.00318.53
8.0.250.0030.00316.81
8.0.240.0040.00417.03
8.0.230.0030.00316.94
8.0.220.0070.00016.86
8.0.210.0020.00516.88
8.0.200.0030.00516.93
8.0.190.0070.00016.93
8.0.180.0070.00017.00
8.0.170.0060.00316.93
8.0.160.0070.00016.92
8.0.150.0000.01116.90
8.0.140.0030.00616.75
8.0.130.0080.00013.28
8.0.120.0040.00416.85
8.0.110.0040.00416.77
8.0.100.0000.00716.95
8.0.90.0020.00516.96
8.0.80.0090.00616.79
8.0.70.0070.00017.02
8.0.60.0030.00517.02
8.0.50.0080.00016.91
8.0.30.0090.01017.21
8.0.20.0110.00717.29
8.0.10.0030.00516.96
8.0.00.0090.00916.84
7.4.330.0050.00015.55
7.4.320.0000.00716.57
7.4.300.0060.00016.41
7.4.290.0030.00616.59
7.4.280.0000.00916.42
7.4.270.0100.00016.53
7.4.260.0000.00716.60
7.4.250.0030.00316.63
7.4.240.0030.00316.41
7.4.230.0070.00016.59
7.4.220.0040.00416.49
7.4.210.0080.01116.51
7.4.200.0080.00016.50
7.4.130.0140.01116.67
7.4.120.0130.00416.63
7.4.110.0080.00816.39
7.4.100.0060.01216.34
7.4.90.0090.01516.62
7.4.80.0120.00619.39
7.4.70.0110.01216.48
7.4.60.0140.00316.59
7.4.50.0030.01216.41
7.4.40.0060.01016.50
7.4.00.0070.01115.22
7.3.330.0000.00513.13
7.3.320.0050.00013.18
7.3.310.0040.00316.37
7.3.300.0070.00016.32
7.3.290.0000.00716.27
7.3.280.0100.01116.19
7.3.260.0130.00516.44
7.3.240.0150.00716.35
7.3.230.0110.00716.32
7.3.210.0140.00316.45
7.3.200.0170.00316.60
7.3.190.0100.01216.30
7.3.180.0060.00916.27
7.3.170.0110.00816.30
7.3.160.0100.00916.25
7.3.60.0070.00714.81
7.3.50.0070.00414.47
7.3.40.0030.00914.63
7.3.30.0100.00314.78
7.3.20.0130.00016.54
7.3.10.0120.01216.45
7.3.00.0130.01016.57
7.2.330.0070.01116.64
7.2.320.0110.00616.49
7.2.310.0070.01016.72
7.2.300.0100.01016.77
7.2.290.0030.01516.50
7.2.190.0100.01414.90
7.2.180.0070.00715.01
7.2.170.0090.00315.17
7.2.160.0100.01315.02
7.2.150.0070.00717.01
7.2.140.0030.01216.66
7.2.130.0090.00916.95
7.2.120.0190.00316.82
7.2.110.0100.01316.72
7.2.100.0120.00316.78
7.2.90.0000.01216.89
7.2.80.0070.00416.96
7.2.70.0110.00717.08
7.2.60.0070.00616.96
7.2.50.0090.01516.98
7.2.40.0060.01516.81
7.2.30.0090.01317.04
7.2.20.0230.00016.73
7.2.10.0090.00617.03
7.2.00.0110.00416.83
7.1.300.0120.00315.84
7.1.290.0100.00315.57
7.1.280.0030.01015.71
7.1.270.0100.01015.74
7.1.260.0030.01015.91
7.1.250.0000.01015.61

preferences:
115.15 ms | 403 KiB | 5 Q