3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.23 ms | 1395 KiB | 15 Q