3v4l.org

run code in 300+ PHP versions simultaneously
<?php final class Test { private $test; } $test = new Test; $test->newProperty = 'hello'; echo $test->newProperty;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/50W2L
function name:  (null)
number of ops:  8
compiled vars:  !0 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   NEW                                              $1      'Test'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
    8     3        ASSIGN_OBJ                                               !0, 'newProperty'
          4        OP_DATA                                                  'hello'
    9     5        FETCH_OBJ_R                                      ~5      !0, 'newProperty'
          6        ECHO                                                     ~5
          7      > RETURN                                                   1

Class Test: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.64 ms | 1392 KiB | 13 Q