3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array( a => '', b => ''); list($arr->a, $arr->b) = array('hello', 'world'); echo $arr;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YX7SC
function name:  (null)
number of ops:  13
compiled vars:  !0 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   FETCH_CONSTANT                                   ~1      'a'
          1        INIT_ARRAY                                       ~2      '', ~1
    5     2        FETCH_CONSTANT                                   ~3      'b'
          3        ADD_ARRAY_ELEMENT                                ~2      '', ~3
    3     4        ASSIGN                                                   !0, ~2
    7     5        FETCH_LIST_R                                     $5      <array>, 0
          6        ASSIGN_OBJ                                               !0, 'a'
          7        OP_DATA                                                  $5
          8        FETCH_LIST_R                                     $7      <array>, 1
          9        ASSIGN_OBJ                                               !0, 'b'
         10        OP_DATA                                                  $7
    9    11        ECHO                                                     !0
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.33 ms | 1397 KiB | 13 Q