3v4l.org

run code in 300+ PHP versions simultaneously
<?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); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0H0eU
function name:  (null)
number of ops:  8
compiled vars:  !0 = $test_orders
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   17     0  E >   INIT_FCALL                                               'getstaticorders'
          1        DO_FCALL                                      0  $1      
          2        ASSIGN                                                   !0, $1
   19     3        INIT_FCALL                                               'print_r'
          4        FETCH_CONSTANT                                   ~3      'test_orders'
          5        SEND_VAL                                                 ~3
          6        DO_ICALL                                                 
   20     7      > RETURN                                                   1

Function getstaticorders:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0H0eU
function name:  getstaticorders
number of ops:  3
compiled vars:  !0 = $orders
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   14     1      > RETURN                                                   !0
   15     2*     > RETURN                                                   null

End of function getstaticorders

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.91 ms | 1396 KiB | 16 Q