3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr = new \stdClass(); list($arr->a, $arr->b) = array('hello', 'world'); var_dump($arr);
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/OfeYu
function name:  (null)
number of ops:  13
compiled vars:  !0 = $arr
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   NEW                                              $1      :-6
         1        DO_FCALL                                      0          
         2        ASSIGN                                                   !0, $1
   5     3        FETCH_LIST                                       $4      <array>, 0
         4        ASSIGN_OBJ                                               !0, 'a'
         5        OP_DATA                                                  $4
         6        FETCH_LIST                                       $6      <array>, 1
         7        ASSIGN_OBJ                                               !0, 'b'
         8        OP_DATA                                                  $6
   7     9        INIT_FCALL                                               'var_dump'
        10        SEND_VAR                                                 !0
        11        DO_ICALL                                                 
        12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.2.0