3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php list($x[], $x[], $x[]) = ['azul', 'amarelo', 'vermelho', 'verde']; echo $x[0].'-'.$x[1].'-'.$x[2];
based on r5t7G
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/8mauk
function name:  (null)
number of ops:  18
compiled vars:  !0 = $x
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   FETCH_LIST                                       $1      <array>, 0
         1        ASSIGN_DIM                                               !0
         2        OP_DATA                                                  $1
         3        FETCH_LIST                                       $3      <array>, 1
         4        ASSIGN_DIM                                               !0
         5        OP_DATA                                                  $3
         6        FETCH_LIST                                       $5      <array>, 2
         7        ASSIGN_DIM                                               !0
         8        OP_DATA                                                  $5
   4     9        FETCH_DIM_R                                      $7      !0, 0
        10        CONCAT                                           ~8      $7, '-'
        11        FETCH_DIM_R                                      $9      !0, 1
        12        CONCAT                                           ~10     ~8, $9
        13        CONCAT                                           ~11     ~10, '-'
        14        FETCH_DIM_R                                      $12     !0, 2
        15        CONCAT                                           ~13     ~11, $12
        16        ECHO                                                     ~13
        17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0