3v4l.org

run code in 300+ PHP versions simultaneously
<?php $passwd = 'KN+jK*zIqtVh4'; $hash = ',,võë0$š4؈¨Ä1X²å`uÒëB@Ê ®›Áýe¶M©ß4'; echo $hash; echo PHP_EOL; $res = crypt($passwd, $hash) == $hash; var_dump($res); $is_valid = password_verify($passwd, $hash); echo PHP_EOL; var_dump($is_valid); echo PHP_EOL; $need_rehash = password_needs_rehash($hash, PASSWORD_DEFAULT); var_dump($need_rehash);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GeQbZ
function name:  (null)
number of ops:  32
compiled vars:  !0 = $passwd, !1 = $hash, !2 = $res, !3 = $is_valid, !4 = $need_rehash
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'KN%2BjK%2AzIqtVh4'
    4     1        ASSIGN                                                   !1, '%2C%2Cv%C3%B5%C3%AB0%24%C5%A14%C3%98%CB%86%C2%A8%C3%84%141X%C2%B2%C3%A5%60%18%03u%C3%92%19%C3%ABB%40%C3%8A%0C%C2%AE%E2%80%BA%01%1B%C3%81%C3%BDe%C2%B6M%C2%A9%C3%9F4'
    5     2        ECHO                                                     !1
    6     3        ECHO                                                     '%0A'
    8     4        INIT_FCALL                                               'crypt'
          5        SEND_VAR                                                 !0
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                         $7      
          8        IS_EQUAL                                         ~8      !1, $7
          9        ASSIGN                                                   !2, ~8
    9    10        INIT_FCALL                                               'var_dump'
         11        SEND_VAR                                                 !2
         12        DO_ICALL                                                 
   11    13        INIT_FCALL                                               'password_verify'
         14        SEND_VAR                                                 !0
         15        SEND_VAR                                                 !1
         16        DO_ICALL                                         $11     
         17        ASSIGN                                                   !3, $11
   12    18        ECHO                                                     '%0A'
   13    19        INIT_FCALL                                               'var_dump'
         20        SEND_VAR                                                 !3
         21        DO_ICALL                                                 
   15    22        ECHO                                                     '%0A'
   16    23        INIT_FCALL                                               'password_needs_rehash'
         24        SEND_VAR                                                 !1
         25        SEND_VAL                                                 '2y'
         26        DO_ICALL                                         $14     
         27        ASSIGN                                                   !4, $14
   17    28        INIT_FCALL                                               'var_dump'
         29        SEND_VAR                                                 !4
         30        DO_ICALL                                                 
         31      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.51 ms | 1396 KiB | 21 Q