3v4l.org

run code in 300+ PHP versions simultaneously
<?php $password = password_hash("stringwith\0nullbytes", PASSWORD_DEFAULT); var_dump( password_verify('stringwith', $password) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/D2XF0
function name:  (null)
number of ops:  13
compiled vars:  !0 = $password
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'password_hash'
          1        SEND_VAL                                                 'stringwith%00nullbytes'
          2        SEND_VAL                                                 '2y'
          3        DO_ICALL                                         $1      
          4        ASSIGN                                                   !0, $1
    6     5        INIT_FCALL                                               'var_dump'
    7     6        INIT_FCALL                                               'password_verify'
          7        SEND_VAL                                                 'stringwith'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $3      
         10        SEND_VAR                                                 $3
    6    11        DO_ICALL                                                 
    8    12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.87 ms | 1002 KiB | 16 Q