3v4l.org

run code in 300+ PHP versions simultaneously
<?php function iterator(...$params) { foreach ($params as $param) { print_r($param); } } iterator(1, ['name'=>'John Doe'], 'Hello world!');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4PIi2
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_FCALL                                               'iterator'
          1        SEND_VAL                                                 1
          2        SEND_VAL                                                 <array>
          3        SEND_VAL                                                 'Hello+world%21'
          4        DO_FCALL                                      0          
          5      > RETURN                                                   1

Function iterator:
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/4PIi2
function name:  iterator
number of ops:  9
compiled vars:  !0 = $params, !1 = $param
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV_VARIADIC                                    !0      
    3     1      > FE_RESET_R                                       $2      !0, ->7
          2    > > FE_FETCH_R                                               $2, !1, ->7
    4     3    >   INIT_FCALL                                               'print_r'
          4        SEND_VAR                                                 !1
          5        DO_ICALL                                                 
    3     6      > JMP                                                      ->2
          7    >   FE_FREE                                                  $2
    6     8      > RETURN                                                   null

End of function iterator

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.8 ms | 1397 KiB | 16 Q