3v4l.org

run code in 300+ PHP versions simultaneously
<?php function dd() { if (func_num_args() > 0) { die(var_dump(func_get_args())); } else { die(); } } dd('test', ['a', 'b'], true);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/l8Fnp
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   INIT_FCALL                                               'dd'
          1        SEND_VAL                                                 'test'
          2        SEND_VAL                                                 <array>
          3        SEND_VAL                                                 <true>
          4        DO_FCALL                                      0          
          5      > RETURN                                                   1

Function dd:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 9
Branch analysis from position: 3
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 9
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/l8Fnp
function name:  dd
number of ops:  11
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   FUNC_NUM_ARGS                                    ~0      
          1        IS_SMALLER                                               0, ~0
          2      > JMPZ                                                     ~1, ->9
    5     3    >   INIT_FCALL                                               'var_dump'
          4        FUNC_GET_ARGS                                    ~2      
          5        SEND_VAL                                                 ~2
          6        DO_ICALL                                         $3      
          7      > EXIT                                                     $3
          8*       JMP                                                      ->10
    7     9    > > EXIT                                                     
    9    10*     > RETURN                                                   null

End of function dd

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
186.08 ms | 1397 KiB | 16 Q