3v4l.org

run code in 300+ PHP versions simultaneously
<?php $u = array("b" => 2); $o = new \ArrayObject(["a" => 1]); $x = $o["a"]; echo $x . $u["a"];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/93RXd
function name:  (null)
number of ops:  11
compiled vars:  !0 = $u, !1 = $o, !2 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        NEW                                              $4      'ArrayObject'
          2        SEND_VAL_EX                                              <array>
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !1, $4
    5     5        FETCH_DIM_R                                      ~7      !1, 'a'
          6        ASSIGN                                                   !2, ~7
    6     7        FETCH_DIM_R                                      ~9      !0, 'a'
          8        CONCAT                                           ~10     !2, ~9
          9        ECHO                                                     ~10
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.55 ms | 1392 KiB | 13 Q