3v4l.org

run code in 300+ PHP versions simultaneously
<?php list($x[], $x[], $x[]) = ['azul', 'amarelo', 'vermelho', 'verde']; echo $x[3].'-'.$x[1].'-'.$x[2];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vnbXt
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_R                                     $1      <array>, 0
          1        ASSIGN_DIM                                               !0
          2        OP_DATA                                                  $1
          3        FETCH_LIST_R                                     $3      <array>, 1
          4        ASSIGN_DIM                                               !0
          5        OP_DATA                                                  $3
          6        FETCH_LIST_R                                     $5      <array>, 2
          7        ASSIGN_DIM                                               !0
          8        OP_DATA                                                  $5
    4     9        FETCH_DIM_R                                      ~7      !0, 3
         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 8.0.0


preferences:
159.96 ms | 1384 KiB | 13 Q