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); } $test_orders=getstaticorders(); print_r (test_orders); ?>
based on 8M0N0
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
Notice: Use of undefined constant test_orders - assumed 'test_orders' in /in/0H0eU on line 19 test_orders
Output for hhvm-3.10.0

Process exited with code 153.