3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr = array( 'Report_Order_By' => array( array( 'Report_Field_ID' => '11', 'Direction' => 'ASC' ), array( 'Report_Field_ID' => '31', 'Direction' => 'DESC' ) ) ); var_dump($arr); /* foreach($arr as $k => $v){ echo "$k => " . "$v" . "\r\n"; } */
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
array(1) { ["Report_Order_By"]=> array(2) { [0]=> array(2) { ["Report_Field_ID"]=> string(2) "11" ["Direction"]=> string(3) "ASC" } [1]=> array(2) { ["Report_Field_ID"]=> string(2) "31" ["Direction"]=> string(4) "DESC" } } }