3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = "Foo"; $b = (object)"Bar"; $c = array(&$a, &$b); print_r($c);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SLLSI
function name:  (null)
number of ops:  10
compiled vars:  !0 = $a, !1 = $b, !2 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'Foo'
    3     1        CAST                                          8  ~4      'Bar'
          2        ASSIGN                                                   !1, ~4
    5     3        INIT_ARRAY                                       ~6      !0
          4        ADD_ARRAY_ELEMENT                                ~6      !1
          5        ASSIGN                                                   !2, ~6
    7     6        INIT_FCALL                                               'print_r'
          7        SEND_VAR                                                 !2
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.18 ms | 1394 KiB | 15 Q