3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hash = '$2y$04$usesomesillystringfore7hnbRJHxXVLeakoG8K30oukPsA.ztMG'; $test = crypt("password", $hash); $pass = $test == $hash;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2vlKY
function name:  (null)
number of ops:  9
compiled vars:  !0 = $hash, !1 = $test, !2 = $pass
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%242y%2404%24usesomesillystringfore7hnbRJHxXVLeakoG8K30oukPsA.ztMG'
    3     1        INIT_FCALL                                               'crypt'
          2        SEND_VAL                                                 'password'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $4      
          5        ASSIGN                                                   !1, $4
    4     6        IS_EQUAL                                         ~6      !1, !0
          7        ASSIGN                                                   !2, ~6
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.37 ms | 1393 KiB | 15 Q