3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class C { public function m() { print 'PPPPPPPPPPPPPP'; } } $c = new C; $c::m();
Finding entry points
Branch analysis from position: 0
Jump found. (Code = 62) Position 1 = -2
filename:       /in/06vv4
function name:  (null)
number of ops:  8
compiled vars:  !0 = $c
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E >   NOP                                                      
  10     1        NEW                                              $2      :-5
         2        DO_FCALL                                      0          
         3        ASSIGN                                                   !0, $2
  11     4        FETCH_CLASS                                 512  :5      !0
         5        INIT_STATIC_METHOD_CALL                                  $5, 'm'
         6        DO_FCALL                                      0          
         7      > RETURN                                                   1

Class C:
Function m:
Finding entry points
Branch analysis from position: 0
Jump found. (Code = 62) Position 1 = -2
filename:       /in/06vv4
function name:  m
number of ops:  2
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   6     0  E >   ECHO                                                     'PPPPPPPPPPPPPP'
   7     1      > RETURN                                                   null

End of function m

End of class C.

Generated using Vulcan Logic Dumper, using php 7.2.0