3v4l.org

run code in 300+ PHP versions simultaneously
<?php class x { function a(){} } $x = new x(); call_user_func_array(array($x, 'undefined'), []);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lvfkD
function name:  (null)
number of ops:  10
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   NEW                                              $1      'x'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
    7     3        INIT_ARRAY                                       ~4      !0
          4        ADD_ARRAY_ELEMENT                                ~4      'undefined'
          5        INIT_USER_CALL                                0          'call_user_func_array', ~4
          6        SEND_ARRAY                                               <array>
          7        CHECK_UNDEF_ARGS                                         
          8        DO_FCALL                                      0          
          9      > RETURN                                                   1

Class x:
Function a:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lvfkD
function name:  a
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E > > RETURN                                                   null

End of function a

End of class x.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.95 ms | 1393 KiB | 13 Q