3v4l.org

run code in 300+ PHP versions simultaneously
<?php function my_function_1() { echo "1"; } function my_function_2() { echo "2"; } function my_function_3() { echo "3"; } for($i=0;$i<$length;$i++) { 'my_function_'.$i(); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 9, Position 2 = 2
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 9, Position 2 = 2
Branch analysis from position: 9
Branch analysis from position: 2
filename:       /in/XbRQ3
function name:  (null)
number of ops:  10
compiled vars:  !0 = $i, !1 = $length
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   25     0  E >   ASSIGN                                                   !0, 0
          1      > JMP                                                      ->7
   27     2    >   INIT_DYNAMIC_CALL                                        !0
          3        DO_FCALL                                      0  $3      
          4        CONCAT                                           ~4      'my_function_', $3
          5        FREE                                                     ~4
   25     6        PRE_INC                                                  !0
          7    >   IS_SMALLER                                               !0, !1
          8      > JMPNZ                                                    ~6, ->2
   28     9    > > RETURN                                                   1

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

End of function my_function_1

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

End of function my_function_2

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

End of function my_function_3

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.9 ms | 1399 KiB | 13 Q