3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = new stdClass(); $x->foo = new stdClass(); $x->foo->bar = 'baz'; var_dump("abc.$x->foo->bar.def");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VG1K8
function name:  (null)
number of ops:  18
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $1      'stdClass'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
    4     3        NEW                                              $5      'stdClass'
          4        DO_FCALL                                      0          
          5        ASSIGN_OBJ                                               !0, 'foo'
          6        OP_DATA                                                  $5
    5     7        FETCH_OBJ_W                                      $7      !0, 'foo'
          8        ASSIGN_OBJ                                               $7, 'bar'
          9        OP_DATA                                                  'baz'
    6    10        INIT_FCALL                                               'var_dump'
         11        ROPE_INIT                                     3  ~11     'abc.'
         12        FETCH_OBJ_R                                      ~9      !0, 'foo'
         13        ROPE_ADD                                      1  ~11     ~11, ~9
         14        ROPE_END                                      2  ~10     ~11, '-%3Ebar.def'
         15        SEND_VAL                                                 ~10
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.95 ms | 1399 KiB | 15 Q