3v4l.org

run code in 300+ PHP versions simultaneously
<?php $m = range(85,110); foreach($m as $val){ $key = $val."00000000000000000"; $a[$key] = $key; } print_r($a); $b["9900000000000000000"]="1"; print_r($b); ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 6, Position 2 = 12
Branch analysis from position: 6
2 jumps found. (Code = 78) Position 1 = 7, Position 2 = 12
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
filename:       /in/LMHN7
function name:  (null)
number of ops:  22
compiled vars:  !0 = $m, !1 = $val, !2 = $key, !3 = $a, !4 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'range'
          1        SEND_VAL                                                 85
          2        SEND_VAL                                                 110
          3        DO_ICALL                                         $5      
          4        ASSIGN                                                   !0, $5
    3     5      > FE_RESET_R                                       $7      !0, ->12
          6    > > FE_FETCH_R                                               $7, !1, ->12
    4     7    >   CONCAT                                           ~8      !1, '00000000000000000'
          8        ASSIGN                                                   !2, ~8
    5     9        ASSIGN_DIM                                               !3, !2
         10        OP_DATA                                                  !2
    3    11      > JMP                                                      ->6
         12    >   FE_FREE                                                  $7
    7    13        INIT_FCALL                                               'print_r'
         14        SEND_VAR                                                 !3
         15        DO_ICALL                                                 
    9    16        ASSIGN_DIM                                               !4, '9900000000000000000'
         17        OP_DATA                                                  '1'
   10    18        INIT_FCALL                                               'print_r'
         19        SEND_VAR                                                 !4
         20        DO_ICALL                                                 
   11    21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.86 ms | 1395 KiB | 17 Q