3v4l.org

run code in 300+ PHP versions simultaneously
<?php $my_var = str_repeat("A",$my_var[0]->errormsg = "xyz"); var_dump($my_var); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9Sico
function name:  (null)
number of ops:  12
compiled vars:  !0 = $my_var
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'str_repeat'
          1        SEND_VAL                                                 'A'
          2        FETCH_DIM_W                                      $1      !0, 0
          3        ASSIGN_OBJ                                       ~2      $1, 'errormsg'
          4        OP_DATA                                                  'xyz'
          5        SEND_VAL                                                 ~2
          6        DO_ICALL                                         $3      
          7        ASSIGN                                                   !0, $3
    3     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                                 
    4    11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.04 ms | 1394 KiB | 17 Q