3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.62 ms | 1384 KiB | 13 Q