3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array(); $arr[] = array(1 => array(2 => 2, 3 => array(4 => 4, 5 => 5)), 6 => 6); function showArray(&$arr) { echo('<pre>'.print_r($arr).'</pre>'); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0viSI
function name:  (null)
number of ops:  4
compiled vars:  !0 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN_DIM                                               !0
          2        OP_DATA                                                  <array>
    7     3      > RETURN                                                   1

Function showarray:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0viSI
function name:  showArray
number of ops:  8
compiled vars:  !0 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
    6     1        INIT_FCALL                                               'print_r'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $1      
          4        CONCAT                                           ~2      '%3Cpre%3E', $1
          5        CONCAT                                           ~3      ~2, '%3C%2Fpre%3E'
          6        ECHO                                                     ~3
    7     7      > RETURN                                                   null

End of function showarray

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.97 ms | 1394 KiB | 15 Q