3v4l.org

run code in 300+ PHP versions simultaneously
<?php $f = array('first' => '1', 0 => 0, 2 => 2); var_export($f); list($data['foo']) = $f; var_export($data);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JYSds
function name:  (null)
number of ops:  13
compiled vars:  !0 = $f, !1 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        INIT_FCALL                                               'var_export'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                                 
    4     4        QM_ASSIGN                                        ~4      !0
          5        FETCH_LIST_R                                     $5      ~4, 0
          6        ASSIGN_DIM                                               !1, 'foo'
          7        OP_DATA                                                  $5
          8        FREE                                                     ~4
    5     9        INIT_FCALL                                               'var_export'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.23 ms | 1394 KiB | 15 Q