3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.11 ms | 1394 KiB | 15 Q