3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($i = 10; $i <= 100; $i++) { echo "{$i}.\t".crypt(sha1(str_repeat('a', $i), true), '$2a$06$usesomesillystringforsalt$')."\n"; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 20
Branch analysis from position: 20
2 jumps found. (Code = 44) Position 1 = 22, Position 2 = 2
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 22, Position 2 = 2
Branch analysis from position: 22
Branch analysis from position: 2
filename:       /in/3ZWQ7
function name:  (null)
number of ops:  23
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 10
          1      > JMP                                                      ->20
    3     2    >   NOP                                                      
          3        FAST_CONCAT                                      ~2      !0, '.%09'
          4        INIT_FCALL                                               'crypt'
          5        INIT_FCALL                                               'sha1'
          6        INIT_FCALL                                               'str_repeat'
          7        SEND_VAL                                                 'a'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $3      
         10        SEND_VAR                                                 $3
         11        SEND_VAL                                                 <true>
         12        DO_ICALL                                         $4      
         13        SEND_VAR                                                 $4
         14        SEND_VAL                                                 '%242a%2406%24usesomesillystringforsalt%24'
         15        DO_ICALL                                         $5      
         16        CONCAT                                           ~6      ~2, $5
         17        CONCAT                                           ~7      ~6, '%0A'
         18        ECHO                                                     ~7
    2    19        PRE_INC                                                  !0
         20    >   IS_SMALLER_OR_EQUAL                                      !0, 100
         21      > JMPNZ                                                    ~9, ->2
    4    22    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.37 ms | 1395 KiB | 19 Q