3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $local_reports_data = array( array('code' => 'asddsa') ); $send = array('orders' => array()); foreach ($local_reports_data as $local_report_data) $send['orders'][] = array('orderNumber' => $local_report_data['code']);
Output for 4.3.0 - 7.2.0