3v4l.org

run code in 300+ PHP versions simultaneously
<?php $salt = "KFtIFW1vulG5nUH3a0Mv45"; $password = "testtest"; $key = '$2y$10$'; $key = $key.$salt; echo crypt($password, $key);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GLl4X
function name:  (null)
number of ops:  11
compiled vars:  !0 = $salt, !1 = $password, !2 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'KFtIFW1vulG5nUH3a0Mv45'
    4     1        ASSIGN                                                   !1, 'testtest'
    6     2        ASSIGN                                                   !2, '%242y%2410%24'
    7     3        CONCAT                                           ~6      !2, !0
          4        ASSIGN                                                   !2, ~6
    9     5        INIT_FCALL                                               'crypt'
          6        SEND_VAR                                                 !1
          7        SEND_VAR                                                 !2
          8        DO_ICALL                                         $8      
          9        ECHO                                                     $8
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
178.27 ms | 1394 KiB | 15 Q