3v4l.org

run code in 300+ PHP versions simultaneously
<?php $users = array( array('Foo', 'Bar', 'check'), array('Baz', 'Qux'), ); // Before foreach ($users as $user) { list($firstName, $lastName, $check) = $user; echo "First name: $firstName, last name: $lastName, check: $check. \n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 2, Position 2 = 20
Branch analysis from position: 2
2 jumps found. (Code = 78) Position 1 = 3, Position 2 = 20
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 20
filename:       /in/72JPc
function name:  (null)
number of ops:  22
compiled vars:  !0 = $users, !1 = $user, !2 = $firstName, !3 = $lastName, !4 = $check
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    9     1      > FE_RESET_R                                       $6      !0, ->20
          2    > > FE_FETCH_R                                               $6, !1, ->20
   10     3    >   QM_ASSIGN                                        ~7      !1
          4        FETCH_LIST_R                                     $8      ~7, 0
          5        ASSIGN                                                   !2, $8
          6        FETCH_LIST_R                                     $10     ~7, 1
          7        ASSIGN                                                   !3, $10
          8        FETCH_LIST_R                                     $12     ~7, 2
          9        ASSIGN                                                   !4, $12
         10        FREE                                                     ~7
   11    11        ROPE_INIT                                     7  ~15     'First+name%3A+'
         12        ROPE_ADD                                      1  ~15     ~15, !2
         13        ROPE_ADD                                      2  ~15     ~15, '%2C+last+name%3A+'
         14        ROPE_ADD                                      3  ~15     ~15, !3
         15        ROPE_ADD                                      4  ~15     ~15, '%2C+check%3A+'
         16        ROPE_ADD                                      5  ~15     ~15, !4
         17        ROPE_END                                      6  ~14     ~15, '.+%0A'
         18        ECHO                                                     ~14
    9    19      > JMP                                                      ->2
         20    >   FE_FREE                                                  $6
   12    21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.87 ms | 1394 KiB | 13 Q