3v4l.org

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

Class A: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.98 ms | 1394 KiB | 15 Q