3v4l.org

run code in 500+ PHP versions simultaneously
<?php // 生成新密码的哈希(比如把密码设为 admin123) $new_password = 'admin123'; $new_hash = password_hash($new_password, PASSWORD_BCRYPT); echo "新哈希值:$new_hash"; // 类似输出:$2y$10$xxxxx...
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mIDjP
function name:  (null)
number of ops:  10
compiled vars:  !0 = $new_password, !1 = $new_hash
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, 'admin123'
    4     1        INIT_FCALL                                                   'password_hash'
          2        SEND_VAR                                                     !0
          3        SEND_VAL                                                     '2y'
          4        DO_ICALL                                             $3      
          5        ASSIGN                                                       !1, $3
    6     6        NOP                                                          
          7        FAST_CONCAT                                          ~5      '%E6%96%B0%E5%93%88%E5%B8%8C%E5%80%BC%EF%BC%9A', !1
          8        ECHO                                                         ~5
    7     9      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
156.19 ms | 1383 KiB | 14 Q