3v4l.org

run code in 300+ PHP versions simultaneously
<?php [$a, $b, $c] = new arrayobject([1, 2, 3]); var_dump($a, $b, $c);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mRE91
function name:  (null)
number of ops:  16
compiled vars:  !0 = $a, !1 = $b, !2 = $c
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        FETCH_LIST_R                                     $5      $3, 0
          4        ASSIGN                                                   !0, $5
          5        FETCH_LIST_R                                     $7      $3, 1
          6        ASSIGN                                                   !1, $7
          7        FETCH_LIST_R                                     $9      $3, 2
          8        ASSIGN                                                   !2, $9
          9        FREE                                                     $3
    5    10        INIT_FCALL                                               'var_dump'
         11        SEND_VAR                                                 !0
         12        SEND_VAR                                                 !1
         13        SEND_VAR                                                 !2
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.09 ms | 1398 KiB | 15 Q