3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
190.56 ms | 1393 KiB | 13 Q