3v4l.org

run code in 500+ PHP versions simultaneously
<?php class A { public static function doit($msg) { var_dump($msg); } } $function = ['A', 'doit']; $function('test');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Suleg
function name:  (null)
number of ops:  5
compiled vars:  !0 = $function
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    9     0  E >   ASSIGN                                                       !0, <array>
   11     1        INIT_DYNAMIC_CALL                                            !0
          2        SEND_VAL_EX                                                  'test'
          3        DO_FCALL                                          0          
          4      > RETURN                                                       1

Class A:
Function doit:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Suleg
function name:  doit
number of ops:  5
compiled vars:  !0 = $msg
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    4     0  E >   RECV                                                 !0      
    5     1        INIT_FCALL                                                   'var_dump'
          2        SEND_VAR                                                     !0
          3        DO_ICALL                                                     
    6     4      > RETURN                                                       null

End of function doit

End of class A.

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
129.27 ms | 476 KiB | 8 Q