3v4l.org

run code in 300+ PHP versions simultaneously
<?php $name='Ian'; $user -> name; echo $user; $foo = new foo();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BQmmo
function name:  (null)
number of ops:  8
compiled vars:  !0 = $name, !1 = $user, !2 = $foo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'Ian'
    4     1        FETCH_OBJ_R                                      ~4      !1, 'name'
          2        FREE                                                     ~4
    5     3        ECHO                                                     !1
    7     4        NEW                                              $5      'foo'
          5        DO_FCALL                                      0          
          6        ASSIGN                                                   !2, $5
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.85 ms | 1392 KiB | 13 Q