3v4l.org

run code in 300+ PHP versions simultaneously
<?php $salts = ['abcdefghijklmnopqrstuvwxyz012345', 'saltsaltsaltsaltsaltsaltsaltsalt', 'pearpearpearpearpearpearpearpear', 'orangeorangeorangeorangeorangeor']; $passwords = ['password', 'password', 'apple', 'apple']; $basicPasswordSaltPermutations = []; $passwordsCount = count($passwords); for ($i = 0; $i < $passwordsCount; $i++) { $salt = $salts[$i]; $password = $passwords[$i]; $passwordSaltPermutations[] = [$salt.$password, $password.$salt, $salt.$password.$salt]; } $algos = hash_algos(); var_dump($basicPasswordSaltPermutations);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 21
Branch analysis from position: 21
2 jumps found. (Code = 44) Position 1 = 23, Position 2 = 7
Branch analysis from position: 23
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 23, Position 2 = 7
Branch analysis from position: 23
Branch analysis from position: 7
filename:       /in/MCI6I
function name:  (null)
number of ops:  30
compiled vars:  !0 = $salts, !1 = $passwords, !2 = $basicPasswordSaltPermutations, !3 = $passwordsCount, !4 = $i, !5 = $salt, !6 = $password, !7 = $passwordSaltPermutations, !8 = $algos
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, <array>
    5     2        ASSIGN                                                   !2, <array>
    6     3        COUNT                                            ~12     !1
          4        ASSIGN                                                   !3, ~12
    8     5        ASSIGN                                                   !4, 0
          6      > JMP                                                      ->21
    9     7    >   FETCH_DIM_R                                      ~15     !0, !4
          8        ASSIGN                                                   !5, ~15
   10     9        FETCH_DIM_R                                      ~17     !1, !4
         10        ASSIGN                                                   !6, ~17
   12    11        CONCAT                                           ~20     !5, !6
         12        INIT_ARRAY                                       ~21     ~20
         13        CONCAT                                           ~22     !6, !5
         14        ADD_ARRAY_ELEMENT                                ~21     ~22
         15        CONCAT                                           ~23     !5, !6
         16        CONCAT                                           ~24     ~23, !5
         17        ADD_ARRAY_ELEMENT                                ~21     ~24
         18        ASSIGN_DIM                                               !7
         19        OP_DATA                                                  ~21
    8    20        PRE_INC                                                  !4
         21    >   IS_SMALLER                                               !4, !3
         22      > JMPNZ                                                    ~26, ->7
   17    23    >   INIT_FCALL                                               'hash_algos'
         24        DO_ICALL                                         $27     
         25        ASSIGN                                                   !8, $27
   19    26        INIT_FCALL                                               'var_dump'
         27        SEND_VAR                                                 !2
         28        DO_ICALL                                                 
         29      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.34 ms | 1396 KiB | 17 Q