3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo $sSalt = '$2a$10$1234567890123456789012$'; echo "\n"; echo $sHash = crypt('abcd', $sSalt); echo "\n" , crypt('abcd', $sHash);
based on n0cNW
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DniKu
function name:  (null)
number of ops:  16
compiled vars:  !0 = $sSalt, !1 = $sHash
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E >   ASSIGN                                           $2      !0, '%242a%2410%241234567890123456789012%24'
         1        ECHO                                                     $2
   3     2        ECHO                                                     '%0A'
   4     3        INIT_FCALL                                               'crypt'
         4        SEND_VAL                                                 'abcd'
         5        SEND_VAR                                                 !0
         6        DO_ICALL                                         $3      
         7        ASSIGN                                           $4      !1, $3
         8        ECHO                                                     $4
   5     9        ECHO                                                     '%0A'
        10        INIT_FCALL                                               'crypt'
        11        SEND_VAL                                                 'abcd'
        12        SEND_VAR                                                 !1
        13        DO_ICALL                                         $5      
        14        ECHO                                                     $5
        15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0