3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hundred = '1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'; $password = 'foo'; $hash = password_hash($password, PASSWORD_BCRYPT); $result = password_verify($hundred . 'gghdhdhdhBAR', $hash); var_dump($result);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4KIlY
function name:  (null)
number of ops:  17
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        SEND_VAR                                                 !1
          4        SEND_VAL                                                 '2y'
          5        DO_ICALL                                         $6      
          6        ASSIGN                                                   !2, $6
    5     7        INIT_FCALL                                               'password_verify'
          8        CONCAT                                           ~8      !0, 'gghdhdhdhBAR'
          9        SEND_VAL                                                 ~8
         10        SEND_VAR                                                 !2
         11        DO_ICALL                                         $9      
         12        ASSIGN                                                   !3, $9
    6    13        INIT_FCALL                                               'var_dump'
         14        SEND_VAR                                                 !3
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
177.58 ms | 1394 KiB | 19 Q