3v4l.org

run code in 300+ PHP versions simultaneously
<?php $original = [ 'some' => 1, 'thing' => 2, ]; $augmented = [ 'app' => 'mail', ]; for ($i = 0; $i < 100000; $i++) { //array_merge($original, $augmented); if (!isset($original['app'])) { $original['app'] = 'mail'; } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 4
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 9
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 4
Branch analysis from position: 12
Branch analysis from position: 4
Branch analysis from position: 9
filename:       /in/Y9Wd0
function name:  (null)
number of ops:  13
compiled vars:  !0 = $original, !1 = $augmented, !2 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    7     1        ASSIGN                                                   !1, <array>
   11     2        ASSIGN                                                   !2, 0
          3      > JMP                                                      ->10
   13     4    >   ISSET_ISEMPTY_DIM_OBJ                         0  ~6      !0, 'app'
          5        BOOL_NOT                                         ~7      ~6
          6      > JMPZ                                                     ~7, ->9
   14     7    >   ASSIGN_DIM                                               !0, 'app'
          8        OP_DATA                                                  'mail'
   11     9    >   PRE_INC                                                  !2
         10    >   IS_SMALLER                                               !2, 100000
         11      > JMPNZ                                                    ~10, ->4
   16    12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.61 ms | 998 KiB | 13 Q