3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array('a' => 'One', 'b' => 'Two', 'c' => array('d' => 'Three', 'e' => 'Four')); function print_element($array) { extract($array); return $c['e']; } print print_element ($array);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Fi4v2
function name:  (null)
number of ops:  6
compiled vars:  !0 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    9     1        INIT_FCALL                                               'print_element'
          2        SEND_VAR                                                 !0
          3        DO_FCALL                                      0  $2      
          4        ECHO                                                     $2
          5      > RETURN                                                   1

Function print_element:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Fi4v2
function name:  print_element
number of ops:  7
compiled vars:  !0 = $array, !1 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
    6     1        INIT_FCALL                                               'extract'
          2        SEND_REF                                                 !0
          3        DO_ICALL                                                 
    7     4        FETCH_DIM_R                                      ~3      !1, 'e'
          5      > RETURN                                                   ~3
    8     6*     > RETURN                                                   null

End of function print_element

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.24 ms | 1397 KiB | 16 Q