3v4l.org

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

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

End of function staticrawr

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

End of function rawr

End of class Test.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.58 ms | 1397 KiB | 13 Q