3v4l.org

run code in 300+ PHP versions simultaneously
<?php class exampleClass { public $property = 'foobar'; } $object = new exampleClass(); var_dump($object); echo $object->$property; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4B9JF
function name:  (null)
number of ops:  9
compiled vars:  !0 = $object, !1 = $property
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   NEW                                              $2      'exampleClass'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
    9     3        INIT_FCALL                                               'var_dump'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                                 
   11     6        FETCH_OBJ_R                                      ~6      !0, !1
          7        ECHO                                                     ~6
   13     8      > RETURN                                                   1

Class exampleClass: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.88 ms | 939 KiB | 16 Q