3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.71 ms | 1394 KiB | 15 Q