3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.49 ms | 1392 KiB | 13 Q