3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.1 ms | 1392 KiB | 13 Q