3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { static public function Rawr() { echo 'Rawr!'; } } $testObj = new Test; $func = ['Test', 'Rawr']; $func();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IeWhc
function name:  (null)
number of ops:  7
compiled vars:  !0 = $testObj, !1 = $func
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   NEW                                              $2      'Test'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
   13     3        ASSIGN                                                   !1, <array>
   14     4        INIT_DYNAMIC_CALL                                        !1
          5        DO_FCALL                                      0          
          6      > RETURN                                                   1

Class Test:
Function rawr:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IeWhc
function name:  Rawr
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   ECHO                                                     'Rawr%21'
    8     1      > RETURN                                                   null

End of function rawr

End of class Test.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.63 ms | 1384 KiB | 13 Q