3v4l.org

run code in 300+ PHP versions simultaneously
<?php $salt = "KFtIFW1vulG5nUH3a0Mv"; $password = "testtest"; $key = '$2y$07$'; $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/qqHUe
function name:  (null)
number of ops:  12
compiled vars:  !0 = $salt, !1 = $password, !2 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'KFtIFW1vulG5nUH3a0Mv'
    4     1        ASSIGN                                                   !1, 'testtest'
    6     2        ASSIGN                                                   !2, '%242y%2407%24'
    7     3        CONCAT                                           ~6      !2, !0
          4        CONCAT                                           ~7      ~6, '%24'
          5        ASSIGN                                                   !2, ~7
    9     6        INIT_FCALL                                               'crypt'
          7        SEND_VAR                                                 !1
          8        SEND_VAR                                                 !2
          9        DO_ICALL                                         $9      
         10        ECHO                                                     $9
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
212.5 ms | 1394 KiB | 15 Q