3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.18 ms | 1394 KiB | 19 Q