3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr = array('ERR_CODE' => 0, 'ABONENTS' => array( array('ID' => '49500', 'IS_NEW' => '0', 'OrgType' => '5', 'Surname' => 'Акушев', 'Name' => 'Константин', 'Patronymic' => 'Юрьевич', 'Certificates' => array( array( 'SerialNumber' => '194B934900060001FA17', 'KeyDate' => '2011-10-28 11:21:00', 'ExpDate' => '2012-10-28 11:23:00', 'Type' => '1', 'TypeName' => 'Федеральный', 'Status' => '1', 'StatusName' => 'действующий', 'Name' => 'Тестовый пользователь' ) ) ) ) ); foreach($arr['ABONENTS'] as $index => $value) { }
Output for 4.3.0 - 7.1.0