3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(-1); $foo='foo'; $foo[0]='bar'; echo $foo;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oCLOA
function name:  (null)
number of ops:  8
compiled vars:  !0 = $foo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 -1
          2        DO_ICALL                                                 
    4     3        ASSIGN                                                   !0, 'foo'
    5     4        ASSIGN_DIM                                               !0, 0
          5        OP_DATA                                                  'bar'
    6     6        ECHO                                                     !0
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.42 ms | 1385 KiB | 15 Q