3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hash = '$md5$2y$10$atGASXMlANJI2CUyCQqZEeOB6cPxXD8NxTa9E/sQTxfGL7Du9WDyi'; var_dump(password_verify(md5('test'), substr($hash, 4)));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/K9Q1R
function name:  (null)
number of ops:  16
compiled vars:  !0 = $hash
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%24md5%242y%2410%24atGASXMlANJI2CUyCQqZEeOB6cPxXD8NxTa9E%2FsQTxfGL7Du9WDyi'
    4     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'password_verify'
          3        INIT_FCALL                                               'md5'
          4        SEND_VAL                                                 'test'
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
          7        INIT_FCALL                                               'substr'
          8        SEND_VAR                                                 !0
          9        SEND_VAL                                                 4
         10        DO_ICALL                                         $3      
         11        SEND_VAR                                                 $3
         12        DO_ICALL                                         $4      
         13        SEND_VAR                                                 $4
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
186.1 ms | 1394 KiB | 21 Q