3v4l.org

run code in 300+ PHP versions simultaneously
<?php $f = 'var_dump'; call_user_func($f, 1); call_user_func_array($f, [1]); $f(1);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RrDUs
function name:  (null)
number of ops:  12
compiled vars:  !0 = $f
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'var_dump'
    3     1        INIT_USER_CALL                                1          'call_user_func', !0
          2        SEND_USER                                                1
          3        DO_FCALL                                      0          
    4     4        INIT_USER_CALL                                0          'call_user_func_array', !0
          5        SEND_ARRAY                                               <array>
          6        CHECK_UNDEF_ARGS                                         
          7        DO_FCALL                                      1          
    5     8        INIT_DYNAMIC_CALL                                        !0
          9        SEND_VAL_EX                                              1
         10        DO_FCALL                                      0          
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
180.9 ms | 993 KiB | 13 Q