3v4l.org

run code in 300+ PHP versions simultaneously
<?php $my_array = array(); list($a, $b, $c) = $my_array; echo "I have several animals, a $a, a $b and a $c."; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/800T2
function name:  (null)
number of ops:  18
compiled vars:  !0 = $my_array, !1 = $a, !2 = $b, !3 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    4     1        QM_ASSIGN                                        ~5      !0
          2        FETCH_LIST_R                                     $6      ~5, 0
          3        ASSIGN                                                   !1, $6
          4        FETCH_LIST_R                                     $8      ~5, 1
          5        ASSIGN                                                   !2, $8
          6        FETCH_LIST_R                                     $10     ~5, 2
          7        ASSIGN                                                   !3, $10
          8        FREE                                                     ~5
    5     9        ROPE_INIT                                     7  ~13     'I+have+several+animals%2C+a+'
         10        ROPE_ADD                                      1  ~13     ~13, !1
         11        ROPE_ADD                                      2  ~13     ~13, '%2C+a+'
         12        ROPE_ADD                                      3  ~13     ~13, !2
         13        ROPE_ADD                                      4  ~13     ~13, '+and+a+'
         14        ROPE_ADD                                      5  ~13     ~13, !3
         15        ROPE_END                                      6  ~12     ~13, '.'
         16        ECHO                                                     ~12
    6    17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.24 ms | 1393 KiB | 13 Q