3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array( '0'=> 0 ); for($i=0; $i<=255; $i++) { echo '<pre>'; var_dump($array); echo '</pre>'; $array['0']++; } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 3
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 3
Branch analysis from position: 13
Branch analysis from position: 3
filename:       /in/ZfBco
function name:  (null)
number of ops:  14
compiled vars:  !0 = $array, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    7     1        ASSIGN                                                   !1, 0
          2      > JMP                                                      ->11
    9     3    >   ECHO                                                     '%3Cpre%3E'
   10     4        INIT_FCALL                                               'var_dump'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                                 
   11     7        ECHO                                                     '%3C%2Fpre%3E'
   13     8        FETCH_DIM_RW                                     $5      !0, 0
          9        PRE_INC                                                  $5
    7    10        PRE_INC                                                  !1
         11    >   IS_SMALLER_OR_EQUAL                                      !1, 255
         12      > JMPNZ                                                    ~8, ->3
   15    13    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.03 ms | 1394 KiB | 15 Q