3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function getstaticorders(){ $orders=array( array('id'=>1, 'Order_Status'=>'Complete', 'Amount'=>560), array('id'=>2, 'Order_Status'=>'Open', 'Amount'=>300), array('id'=>3, 'Order_Status'=>'Cancelled', 'Amount'=>175) ); return($orders); } echo getstaticorders(); ?>
based on BZABq
Output for 5.4.0 - 7.1.0
Notice: Array to string conversion in /in/OvWOY on line 17 Array
Output for 4.3.0 - 5.3.29
Array