3v4l.org

run code in 300+ PHP versions simultaneously
<?php $asd = "qwe"; $q = new stdClass; $q->asd = $asd; $q->$asd = "asd";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/n0Y3U
function name:  (null)
number of ops:  9
compiled vars:  !0 = $asd, !1 = $q
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'qwe'
    4     1        NEW                                              $3      'stdClass'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !1, $3
    5     4        ASSIGN_OBJ                                               !1, 'asd'
          5        OP_DATA                                                  !0
    6     6        ASSIGN_OBJ                                               !1, !0
          7        OP_DATA                                                  'asd'
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.59 ms | 1384 KiB | 13 Q