3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hundred = '1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'; $password = 'foo'; $hash = password_hash($password . $hundred, PASSWORD_BCRYPT); $result = password_verify('BAR'. $hundred, $hash); var_dump($result);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dUIhP
function name:  (null)
number of ops:  18
compiled vars:  !0 = $hundred, !1 = $password, !2 = $hash, !3 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'
    3     1        ASSIGN                                                   !1, 'foo'
    4     2        INIT_FCALL                                               'password_hash'
          3        CONCAT                                           ~6      !1, !0
          4        SEND_VAL                                                 ~6
          5        SEND_VAL                                                 '2y'
          6        DO_ICALL                                         $7      
          7        ASSIGN                                                   !2, $7
    5     8        INIT_FCALL                                               'password_verify'
          9        CONCAT                                           ~9      'BAR', !0
         10        SEND_VAL                                                 ~9
         11        SEND_VAR                                                 !2
         12        DO_ICALL                                         $10     
         13        ASSIGN                                                   !3, $10
    6    14        INIT_FCALL                                               'var_dump'
         15        SEND_VAR                                                 !3
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.5 ms | 1386 KiB | 19 Q