3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { static function testing() { call_user_func_array(array('self', 'reply'), array('derp')); } function reply($derp) { echo $derp; } } echo Test::testing();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/K5nvO
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   INIT_STATIC_METHOD_CALL                                  'Test', 'testing'
          1        DO_FCALL                                      0  $0      
          2        ECHO                                                     $0
          3      > RETURN                                                   1

Class Test:
Function testing:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/K5nvO
function name:  testing
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_USER_CALL                                0          'call_user_func_array', <array>
          1        SEND_ARRAY                                               <array>
          2        CHECK_UNDEF_ARGS                                         
          3        DO_FCALL                                      0          
    5     4      > RETURN                                                   null

End of function testing

Function reply:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/K5nvO
function name:  reply
number of ops:  3
compiled vars:  !0 = $derp
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   RECV                                             !0      
    8     1        ECHO                                                     !0
    9     2      > RETURN                                                   null

End of function reply

End of class Test.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.89 ms | 1394 KiB | 13 Q