3v4l.org

run code in 300+ PHP versions simultaneously
<?php list($a,$a,$b) = array(3,2,1); var_dump($a); var_dump($b); list($c,$c,$c) = array(3,2,1); var_dump($c);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QXZhY
function name:  (null)
number of ops:  22
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                                                   !0, $5
          4        FETCH_LIST_R                                     $7      <array>, 2
          5        ASSIGN                                                   !1, $7
    4     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                                 
    5     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                                 
    7    12        FETCH_LIST_R                                     $11     <array>, 0
         13        ASSIGN                                                   !2, $11
         14        FETCH_LIST_R                                     $13     <array>, 1
         15        ASSIGN                                                   !2, $13
         16        FETCH_LIST_R                                     $15     <array>, 2
         17        ASSIGN                                                   !2, $15
    8    18        INIT_FCALL                                               'var_dump'
         19        SEND_VAR                                                 !2
         20        DO_ICALL                                                 
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.87 ms | 1395 KiB | 15 Q