3v4l.org

run code in 300+ PHP versions simultaneously
<?php function function1() { echo 'bla 0'; } function function2($blub) { echo $blub; } $bla = array ( 'function1', 'function2' ); $bla[0](); $bla[1]('bla 1');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZBeKc
function name:  (null)
number of ops:  9
compiled vars:  !0 = $bla
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   ASSIGN                                                   !0, <array>
   14     1        FETCH_DIM_R                                      ~2      !0, 0
          2        INIT_DYNAMIC_CALL                                        ~2
          3        DO_FCALL                                      0          
   15     4        FETCH_DIM_R                                      ~4      !0, 1
          5        INIT_DYNAMIC_CALL                                        ~4
          6        SEND_VAL_EX                                              'bla+1'
          7        DO_FCALL                                      0          
          8      > RETURN                                                   1

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

End of function function1

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

End of function function2

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.39 ms | 1394 KiB | 13 Q