3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(-1); $a = ["b" => 2]; print "notice: ".$a[b]."\n"; print "no notice: {$a[b]}";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/D6vMV
function name:  (null)
number of ops:  15
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 -1
          2        DO_ICALL                                                 
    5     3        ASSIGN                                                   !0, <array>
    7     4        FETCH_CONSTANT                                   ~3      'b'
          5        FETCH_DIM_R                                      ~4      !0, ~3
          6        CONCAT                                           ~5      'notice%3A+', ~4
          7        CONCAT                                           ~6      ~5, '%0A'
          8        ECHO                                                     ~6
    9     9        NOP                                                      
         10        FETCH_CONSTANT                                   ~7      'b'
         11        FETCH_DIM_R                                      ~8      !0, ~7
         12        FAST_CONCAT                                      ~9      'no+notice%3A+', ~8
         13        ECHO                                                     ~9
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.68 ms | 1394 KiB | 15 Q