3v4l.org

run code in 300+ PHP versions simultaneously
<?php $password = password_hash('miroslaw', PASSWORD_DEFAULT); $input = 'miroslaw'; echo $password. PHP_EOL; echo password_verify('miroslaw', $password) ? 'Good' : 'Bad';
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 15
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/euBqE
function name:  (null)
number of ops:  18
compiled vars:  !0 = $password, !1 = $input
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'password_hash'
          1        SEND_VAL                                                 'miroslaw'
          2        SEND_VAL                                                 '2y'
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    5     5        ASSIGN                                                   !1, 'miroslaw'
    6     6        CONCAT                                           ~5      !0, '%0A'
          7        ECHO                                                     ~5
    7     8        INIT_FCALL                                               'password_verify'
          9        SEND_VAL                                                 'miroslaw'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                         $6      
         12      > JMPZ                                                     $6, ->15
         13    >   QM_ASSIGN                                        ~7      'Good'
         14      > JMP                                                      ->16
         15    >   QM_ASSIGN                                        ~7      'Bad'
         16    >   ECHO                                                     ~7
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.82 ms | 1395 KiB | 17 Q