3v4l.org

run code in 300+ PHP versions simultaneously
<?php $people = array( array('name' => 'Kalle', 'salt' => 856412), array('name' => 'Pierre', 'salt' => 215863) ); var_dump($people); for($i = 0, $size = count($people); $i < $size; ++$i) { $people[$i]['salt'] = mt_rand(000000, 999999); } var_dump($people); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 8
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 8
Branch analysis from position: 18
Branch analysis from position: 8
filename:       /in/f9rbh
function name:  (null)
number of ops:  22
compiled vars:  !0 = $people, !1 = $i, !2 = $size
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, <array>
   10     1        INIT_FCALL                                               'var_dump'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                                 
   12     4        ASSIGN                                                   !1, 0
          5        COUNT                                            ~6      !0
          6        ASSIGN                                                   !2, ~6
          7      > JMP                                                      ->16
   13     8    >   INIT_FCALL                                               'mt_rand'
          9        SEND_VAL                                                 0
         10        SEND_VAL                                                 999999
         11        DO_ICALL                                         $10     
         12        FETCH_DIM_W                                      $8      !0, !1
         13        ASSIGN_DIM                                               $8, 'salt'
         14        OP_DATA                                                  $10
   12    15        PRE_INC                                                  !1
         16    >   IS_SMALLER                                               !1, !2
         17      > JMPNZ                                                    ~12, ->8
   15    18    >   INIT_FCALL                                               'var_dump'
         19        SEND_VAR                                                 !0
         20        DO_ICALL                                                 
   18    21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.46 ms | 1399 KiB | 17 Q