3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array( 'A' => array(1, 2, 3, 4), 'B' => array(5, 6), 'C' => array('a', 'b', 'c')); function makeCombinations($array){ foreach($array as $value){ makeCombinations($array); } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YthQS
function name:  (null)
number of ops:  2
compiled vars:  !0 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    7     1      > RETURN                                                   1

Function makecombinations:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 2, Position 2 = 7
Branch analysis from position: 2
2 jumps found. (Code = 78) Position 1 = 3, Position 2 = 7
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
filename:       /in/YthQS
function name:  makeCombinations
number of ops:  9
compiled vars:  !0 = $array, !1 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
    5     1      > FE_RESET_R                                       $2      !0, ->7
          2    > > FE_FETCH_R                                               $2, !1, ->7
          3    >   INIT_FCALL_BY_NAME                                       'makeCombinations'
          4        SEND_VAR_EX                                              !0
          5        DO_FCALL                                      0          
          6      > JMP                                                      ->2
          7    >   FE_FREE                                                  $2
    7     8      > RETURN                                                   null

End of function makecombinations

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.63 ms | 1394 KiB | 13 Q