3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Test { public function __get($name) { return $name; } } echo Test::$value;
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/PHcsB
function name:  (null)
number of ops:  4
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   NOP                                                      
  10     1        FETCH_R                      static member       $1      'value'
         2        ECHO                                                     $1
         3      > RETURN                                                   1

Class Test:
Function __get:
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/PHcsB
function name:  __get
number of ops:  3
compiled vars:  !0 = $name
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   4     0  E >   RECV                                             !0      
   5     1      > RETURN                                                   !0
   6     2*     > RETURN                                                   null

End of function __get

End of class Test.

Generated using Vulcan Logic Dumper, using php 7.1.0