3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { public static function doTest() { var_dump(func_get_args()); } } $callable = 'Test::doTest'; $callable('arg');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/G1d0r
function name:  (null)
number of ops:  5
compiled vars:  !0 = $callable
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   ASSIGN                                                   !0, 'Test%3A%3AdoTest'
   12     1        INIT_DYNAMIC_CALL                                        !0
          2        SEND_VAL_EX                                              'arg'
          3        DO_FCALL                                      0          
          4      > RETURN                                                   1

Class Test:
Function dotest:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/G1d0r
function name:  doTest
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                               'var_dump'
          1        FUNC_GET_ARGS                                    ~0      
          2        SEND_VAL                                                 ~0
          3        DO_ICALL                                                 
    8     4      > RETURN                                                   null

End of function dotest

End of class Test.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.16 ms | 1394 KiB | 15 Q