3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array(); $i = 100000000; while($i>0) { $i--; $a[]=array($i=>$i); } print count($a);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 9, Position 2 = 3
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 9, Position 2 = 3
Branch analysis from position: 9
Branch analysis from position: 3
filename:       /in/gGaJF
function name:  (null)
number of ops:  12
compiled vars:  !0 = $a, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, 100000000
    4     2      > JMP                                                      ->7
    5     3    >   PRE_DEC                                                  !1
    6     4        INIT_ARRAY                                       ~6      !1, !1
          5        ASSIGN_DIM                                               !0
          6        OP_DATA                                                  ~6
    4     7    >   IS_SMALLER                                               0, !1
          8      > JMPNZ                                                    ~7, ->3
   10     9    >   COUNT                                            ~8      !0
         10        ECHO                                                     ~8
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.61 ms | 1393 KiB | 13 Q