3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo help(); function check(&$ok) { return $ok; } function help() { $k = array(); return check($k); } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dXXSe
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL_BY_NAME                                       'help'
          1        DO_FCALL                                      0  $0      
          2        ECHO                                                     $0
   21     3      > RETURN                                                   1

Function check:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dXXSe
function name:  check
number of ops:  3
compiled vars:  !0 = $ok
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   RECV                                             !0      
   10     1      > RETURN                                                   !0
   11     2*     > RETURN                                                   null

End of function check

Function help:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dXXSe
function name:  help
number of ops:  6
compiled vars:  !0 = $k
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   16     0  E >   ASSIGN                                                   !0, <array>
   17     1        INIT_FCALL                                               'check'
          2        SEND_REF                                                 !0
          3        DO_FCALL                                      0  $2      
          4      > RETURN                                                   $2
   18     5*     > RETURN                                                   null

End of function help

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.05 ms | 1397 KiB | 14 Q