3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = new stdObject(); $xml->return = new stdObject(); $xml->return->authtoken = 'Test'; print_r($xml->return->authtoken);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gG9k3
function name:  (null)
number of ops:  16
compiled vars:  !0 = $xml
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $1      'stdObject'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
    3     3        NEW                                              $5      'stdObject'
          4        DO_FCALL                                      0          
          5        ASSIGN_OBJ                                               !0, 'return'
          6        OP_DATA                                                  $5
    4     7        FETCH_OBJ_W                                      $7      !0, 'return'
          8        ASSIGN_OBJ                                               $7, 'authtoken'
          9        OP_DATA                                                  'Test'
    5    10        INIT_FCALL                                               'print_r'
         11        FETCH_OBJ_R                                      ~9      !0, 'return'
         12        FETCH_OBJ_R                                      ~10     ~9, 'authtoken'
         13        SEND_VAL                                                 ~10
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
180.98 ms | 1385 KiB | 15 Q