3v4l.org

run code in 300+ PHP versions simultaneously
<?php function d(){for($i=3,$d=func_get_args();$i<count($d);print($d[$i++]));} d(dont,show,these,show,these);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sPh6k
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'd'
          1        FETCH_CONSTANT                                   ~0      'dont'
          2        SEND_VAL                                                 ~0
          3        FETCH_CONSTANT                                   ~1      'show'
          4        SEND_VAL                                                 ~1
          5        FETCH_CONSTANT                                   ~2      'these'
          6        SEND_VAL                                                 ~2
          7        FETCH_CONSTANT                                   ~3      'show'
          8        SEND_VAL                                                 ~3
          9        FETCH_CONSTANT                                   ~4      'these'
         10        SEND_VAL                                                 ~4
         11        DO_FCALL                                      0          
         12      > RETURN                                                   1

Function d:
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 = 10, Position 2 = 4
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 10, Position 2 = 4
Branch analysis from position: 10
Branch analysis from position: 4
filename:       /in/sPh6k
function name:  d
number of ops:  11
compiled vars:  !0 = $i, !1 = $d
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 3
          1        FUNC_GET_ARGS                                    ~3      
          2        ASSIGN                                                   !1, ~3
          3      > JMP                                                      ->7
          4    >   POST_INC                                         ~5      !0
          5        FETCH_DIM_R                                      ~6      !1, ~5
          6        ECHO                                                     ~6
          7    >   COUNT                                            ~7      !1
          8        IS_SMALLER                                               !0, ~7
          9      > JMPNZ                                                    ~8, ->4
         10    > > RETURN                                                   null

End of function d

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.94 ms | 1397 KiB | 14 Q