3v4l.org

run code in 300+ PHP versions simultaneously
<?php $myvar->text1=' there'; $myvar->text2=' and here'; $myvar->text2->text1=' star'; echo "And now, the result is [", print_r($myvar, true), "] ***";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7Ol85
function name:  (null)
number of ops:  15
compiled vars:  !0 = $myvar
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN_OBJ                                               !0, 'text1'
          1        OP_DATA                                                  '+there'
    3     2        ASSIGN_OBJ                                               !0, 'text2'
          3        OP_DATA                                                  '+and+here'
    4     4        FETCH_OBJ_W                                      $3      !0, 'text2'
          5        ASSIGN_OBJ                                               $3, 'text1'
          6        OP_DATA                                                  '+star'
    5     7        ECHO                                                     'And+now%2C+the+result+is+%5B'
          8        INIT_FCALL                                               'print_r'
          9        SEND_VAR                                                 !0
         10        SEND_VAL                                                 <true>
         11        DO_ICALL                                         $5      
         12        ECHO                                                     $5
         13        ECHO                                                     '%5D+%2A%2A%2A'
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.86 ms | 1394 KiB | 15 Q