3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class MyClass { static $f = "hello world"; } $obj = new MyClass; // var_dump($obj); echo $obj->f ?>
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/a1A0i
function name:  (null)
number of ops:  7
compiled vars:  !0 = $obj
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E >   NOP                                                      
   9     1        NEW                                              $2      :-6
         2        DO_FCALL                                      0          
         3        ASSIGN                                                   !0, $2
  11     4        FETCH_OBJ_R                                      $5      !0, 'f'
         5        ECHO                                                     $5
         6      > RETURN                                                   1

Class MyClass: [no user functions]

Generated using Vulcan Logic Dumper, using php 7.2.0