3v4l.org

run code in 300+ PHP versions simultaneously
<?php $salt = str_repeat("a", 40); $pepper = str_repeat("a", 40); var_dump(crypt($salt . $pepper . "password1", '$2y$04$235235235902sdfsdfoiwoi')); var_dump(crypt($salt . $pepper . "password2", '$2y$04$235235235902sdfsdfoiwoi')); var_dump(crypt($salt . $pepper . "apple", '$2y$04$235235235902sdfsdfoiwoi')); var_dump(crypt($salt . $pepper . "pear", '$2y$04$235235235902sdfsdfoiwoi'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/iHVkA
function name:  (null)
number of ops:  47
compiled vars:  !0 = $salt, !1 = $pepper
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'str_repeat'
          1        SEND_VAL                                                 'a'
          2        SEND_VAL                                                 40
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    4     5        INIT_FCALL                                               'str_repeat'
          6        SEND_VAL                                                 'a'
          7        SEND_VAL                                                 40
          8        DO_ICALL                                         $4      
          9        ASSIGN                                                   !1, $4
    6    10        INIT_FCALL                                               'var_dump'
         11        INIT_FCALL                                               'crypt'
         12        CONCAT                                           ~6      !0, !1
         13        CONCAT                                           ~7      ~6, 'password1'
         14        SEND_VAL                                                 ~7
         15        SEND_VAL                                                 '%242y%2404%24235235235902sdfsdfoiwoi'
         16        DO_ICALL                                         $8      
         17        SEND_VAR                                                 $8
         18        DO_ICALL                                                 
    7    19        INIT_FCALL                                               'var_dump'
         20        INIT_FCALL                                               'crypt'
         21        CONCAT                                           ~10     !0, !1
         22        CONCAT                                           ~11     ~10, 'password2'
         23        SEND_VAL                                                 ~11
         24        SEND_VAL                                                 '%242y%2404%24235235235902sdfsdfoiwoi'
         25        DO_ICALL                                         $12     
         26        SEND_VAR                                                 $12
         27        DO_ICALL                                                 
    8    28        INIT_FCALL                                               'var_dump'
         29        INIT_FCALL                                               'crypt'
         30        CONCAT                                           ~14     !0, !1
         31        CONCAT                                           ~15     ~14, 'apple'
         32        SEND_VAL                                                 ~15
         33        SEND_VAL                                                 '%242y%2404%24235235235902sdfsdfoiwoi'
         34        DO_ICALL                                         $16     
         35        SEND_VAR                                                 $16
         36        DO_ICALL                                                 
    9    37        INIT_FCALL                                               'var_dump'
         38        INIT_FCALL                                               'crypt'
         39        CONCAT                                           ~18     !0, !1
         40        CONCAT                                           ~19     ~18, 'pear'
         41        SEND_VAL                                                 ~19
         42        SEND_VAL                                                 '%242y%2404%24235235235902sdfsdfoiwoi'
         43        DO_ICALL                                         $20     
         44        SEND_VAR                                                 $20
         45        DO_ICALL                                                 
         46      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.71 ms | 1392 KiB | 19 Q