3v4l.org

run code in 300+ PHP versions simultaneously
<?php $p1 = '12345678901234567890123456789012345678901234567890123456789012345678901234567890'; $p2 = '123456789012345678901234567890123456789012345678901234567890123456789012'; $p3 = '123456789012345678901234567890123456789012345678901234567890123456789012abcdef'; $h1 = password_hash($p1, PASSWORD_BCRYPT); var_dump(password_verify($p2, $h1)); var_dump(password_verify($p3, $h1));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2qc8j
function name:  (null)
number of ops:  23
compiled vars:  !0 = $p1, !1 = $p2, !2 = $p3, !3 = $h1
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '12345678901234567890123456789012345678901234567890123456789012345678901234567890'
    3     1        ASSIGN                                                   !1, '123456789012345678901234567890123456789012345678901234567890123456789012'
    4     2        ASSIGN                                                   !2, '123456789012345678901234567890123456789012345678901234567890123456789012abcdef'
    6     3        INIT_FCALL                                               'password_hash'
          4        SEND_VAR                                                 !0
          5        SEND_VAL                                                 '2y'
          6        DO_ICALL                                         $7      
          7        ASSIGN                                                   !3, $7
    7     8        INIT_FCALL                                               'var_dump'
          9        INIT_FCALL                                               'password_verify'
         10        SEND_VAR                                                 !1
         11        SEND_VAR                                                 !3
         12        DO_ICALL                                         $9      
         13        SEND_VAR                                                 $9
         14        DO_ICALL                                                 
    8    15        INIT_FCALL                                               'var_dump'
         16        INIT_FCALL                                               'password_verify'
         17        SEND_VAR                                                 !2
         18        SEND_VAR                                                 !3
         19        DO_ICALL                                         $11     
         20        SEND_VAR                                                 $11
         21        DO_ICALL                                                 
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
129.14 ms | 1447 KiB | 16 Q