3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sSalt = '1234567890123456789012'; echo $sHash = crypt('abcd', '$2a$10$' . $sSalt . '$'); echo "\n" , crypt('abcd', $sHash);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ulplZ
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                                                   !0, '1234567890123456789012'
    3     1        INIT_FCALL                                               'crypt'
          2        SEND_VAL                                                 'abcd'
          3        CONCAT                                           ~3      '%242a%2410%24', !0
          4        CONCAT                                           ~4      ~3, '%24'
          5        SEND_VAL                                                 ~4
          6        DO_ICALL                                         $5      
          7        ASSIGN                                           ~6      !1, $5
          8        ECHO                                                     ~6
    4     9        ECHO                                                     '%0A'
         10        INIT_FCALL                                               'crypt'
         11        SEND_VAL                                                 'abcd'
         12        SEND_VAR                                                 !1
         13        DO_ICALL                                         $7      
         14        ECHO                                                     $7
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.8 ms | 1394 KiB | 15 Q