3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = []; // Unwanted Notice // $array['iDoNotExistYet']++; // Same but without Notice $array['iDoNotExistYet'] = ($array['iDoNotExistYet'] ?? 0) + 1; echo $array['iDoNotExistYet'];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/D7OsK
function name:  (null)
number of ops:  10
compiled vars:  !0 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    9     1        FETCH_DIM_IS                                     ~3      !0, 'iDoNotExistYet'
          2        COALESCE                                         ~4      ~3
          3        QM_ASSIGN                                        ~4      0
          4        ADD                                              ~5      ~4, 1
          5        ASSIGN_DIM                                               !0, 'iDoNotExistYet'
          6        OP_DATA                                                  ~5
   11     7        FETCH_DIM_R                                      ~6      !0, 'iDoNotExistYet'
          8        ECHO                                                     ~6
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
137.13 ms | 993 KiB | 13 Q