3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
165.05 ms | 3092 KiB | 17 Q