3v4l.org

run code in 300+ PHP versions simultaneously
<?php function bla(){ echo 'bla ...'; } function blee($f) { echo __FUNCTION__; $f(); } blee(bla());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/a2JaX
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   INIT_FCALL                                               'blee'
          1        INIT_FCALL                                               'bla'
          2        DO_FCALL                                      0  $0      
          3        SEND_VAR                                                 $0
          4        DO_FCALL                                      0          
          5      > RETURN                                                   1

Function bla:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/a2JaX
function name:  bla
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ECHO                                                     'bla+...'
    5     1      > RETURN                                                   null

End of function bla

Function blee:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/a2JaX
function name:  blee
number of ops:  5
compiled vars:  !0 = $f
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   RECV                                             !0      
    8     1        ECHO                                                     'blee'
    9     2        INIT_DYNAMIC_CALL                                        !0
          3        DO_FCALL                                      0          
   10     4      > RETURN                                                   null

End of function blee

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.44 ms | 1397 KiB | 15 Q