3v4l.org

run code in 300+ PHP versions simultaneously
<?php class test { public $hello = 'world'; function __construct() { $this->hello = 'bubblerubble'; echo get_class_vars( get_class() ); } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gFRlK
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E > > RETURN                                                   1

Class test:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gFRlK
function name:  __construct
number of ops:  8
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   ASSIGN_OBJ                                               'hello'
          1        OP_DATA                                                  'bubblerubble'
    9     2        INIT_FCALL                                               'get_class_vars'
          3        GET_CLASS                                        ~1      
          4        SEND_VAL                                                 ~1
          5        DO_ICALL                                         $2      
          6        ECHO                                                     $2
   10     7      > RETURN                                                   null

End of function __construct

End of class test.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
189.82 ms | 1394 KiB | 15 Q