3v4l.org

run code in 300+ PHP versions simultaneously
<?php list($a, $b) = NULL; var_dump($a, $b); list($c, $d) = array(); var_dump($c, $d); list($e, $f) = array('a'); var_dump($e, $f);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fF4Nc
function name:  (null)
number of ops:  25
compiled vars:  !0 = $a, !1 = $b, !2 = $c, !3 = $d, !4 = $e, !5 = $f
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_LIST_R                                     $6      null, 0
          1        ASSIGN                                                   !0, $6
          2        FETCH_LIST_R                                     $8      null, 1
          3        ASSIGN                                                   !1, $8
    4     4        INIT_FCALL                                               'var_dump'
          5        SEND_VAR                                                 !0
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                                 
    6     8        FETCH_LIST_R                                     $11     <array>, 0
          9        ASSIGN                                                   !2, $11
         10        FETCH_LIST_R                                     $13     <array>, 1
         11        ASSIGN                                                   !3, $13
    8    12        INIT_FCALL                                               'var_dump'
         13        SEND_VAR                                                 !2
         14        SEND_VAR                                                 !3
         15        DO_ICALL                                                 
   10    16        FETCH_LIST_R                                     $16     <array>, 0
         17        ASSIGN                                                   !4, $16
         18        FETCH_LIST_R                                     $18     <array>, 1
         19        ASSIGN                                                   !5, $18
   12    20        INIT_FCALL                                               'var_dump'
         21        SEND_VAR                                                 !4
         22        SEND_VAR                                                 !5
         23        DO_ICALL                                                 
         24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.18 ms | 1395 KiB | 15 Q