3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pivot = []; $n = 0; for ($i = 1; $i <= 100; $i++) { $pivot[$i] = []; } for($i = 1; $i <= 100; $n++) { $user = $pivot[rand($i, 100)]; $rand = rand(0, 100); $random = $rand != $user ? $rand : $rand + 1; $user[] = $random; if($n == 10) { $i++; $n = 0; } } print_r($array);
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 = 4
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 36
Branch analysis from position: 36
2 jumps found. (Code = 44) Position 1 = 38, Position 2 = 11
Branch analysis from position: 38
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
2 jumps found. (Code = 43) Position 1 = 24, Position 2 = 26
Branch analysis from position: 24
1 jumps found. (Code = 42) Position 1 = 28
Branch analysis from position: 28
2 jumps found. (Code = 43) Position 1 = 33, Position 2 = 35
Branch analysis from position: 33
2 jumps found. (Code = 44) Position 1 = 38, Position 2 = 11
Branch analysis from position: 38
Branch analysis from position: 11
Branch analysis from position: 35
Branch analysis from position: 26
2 jumps found. (Code = 43) Position 1 = 33, Position 2 = 35
Branch analysis from position: 33
Branch analysis from position: 35
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 9, Position 2 = 4
Branch analysis from position: 9
Branch analysis from position: 4
filename:       /in/VaFKS
function name:  (null)
number of ops:  42
compiled vars:  !0 = $pivot, !1 = $n, !2 = $i, !3 = $user, !4 = $rand, !5 = $random, !6 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, <array>
    6     1        ASSIGN                                                   !1, 0
    8     2        ASSIGN                                                   !2, 1
          3      > JMP                                                      ->7
    9     4    >   ASSIGN_DIM                                               !0, !2
          5        OP_DATA                                                  <array>
    8     6        PRE_INC                                                  !2
          7    >   IS_SMALLER_OR_EQUAL                                      !2, 100
          8      > JMPNZ                                                    ~12, ->4
   12     9    >   ASSIGN                                                   !2, 1
         10      > JMP                                                      ->36
   13    11    >   INIT_FCALL                                               'rand'
         12        SEND_VAR                                                 !2
         13        SEND_VAL                                                 100
         14        DO_ICALL                                         $14     
         15        FETCH_DIM_R                                      ~15     !0, $14
         16        ASSIGN                                                   !3, ~15
   14    17        INIT_FCALL                                               'rand'
         18        SEND_VAL                                                 0
         19        SEND_VAL                                                 100
         20        DO_ICALL                                         $17     
         21        ASSIGN                                                   !4, $17
   15    22        IS_NOT_EQUAL                                             !4, !3
         23      > JMPZ                                                     ~19, ->26
         24    >   QM_ASSIGN                                        ~20     !4
         25      > JMP                                                      ->28
         26    >   ADD                                              ~21     !4, 1
         27        QM_ASSIGN                                        ~20     ~21
         28    >   ASSIGN                                                   !5, ~20
   16    29        ASSIGN_DIM                                               !3
         30        OP_DATA                                                  !5
   18    31        IS_EQUAL                                                 !1, 10
         32      > JMPZ                                                     ~24, ->35
   19    33    >   PRE_INC                                                  !2
   20    34        ASSIGN                                                   !1, 0
   12    35    >   PRE_INC                                                  !1
         36    >   IS_SMALLER_OR_EQUAL                                      !2, 100
         37      > JMPNZ                                                    ~28, ->11
   25    38    >   INIT_FCALL                                               'print_r'
         39        SEND_VAR                                                 !6
         40        DO_ICALL                                                 
         41      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.14 ms | 1400 KiB | 17 Q