3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array(1, 'leo'); list($t,$n) = each($a); var_dump($t,$n);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3BoFD
function name:  (null)
number of ops:  14
compiled vars:  !0 = $a, !1 = $t, !2 = $n
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        INIT_FCALL_BY_NAME                                       'each'
          2        SEND_VAR_EX                                              !0
          3        DO_FCALL                                      0  $4      
          4        FETCH_LIST_R                                     $5      $4, 0
          5        ASSIGN                                                   !1, $5
          6        FETCH_LIST_R                                     $7      $4, 1
          7        ASSIGN                                                   !2, $7
          8        FREE                                                     $4
    5     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !1
         11        SEND_VAR                                                 !2
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.82 ms | 1394 KiB | 15 Q