3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { public function Rawr() { echo 'Rawr!'; } } $testObj = new Test; $func = $testObj->Rawr; $func();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Tgq9Y
function name:  (null)
number of ops:  8
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        FETCH_OBJ_R                                      ~5      !0, 'Rawr'
          4        ASSIGN                                                   !1, ~5
   14     5        INIT_DYNAMIC_CALL                                        !1
          6        DO_FCALL                                      0          
          7      > RETURN                                                   1

Class Test:
Function rawr:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Tgq9Y
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:
150.85 ms | 1393 KiB | 13 Q