3v4l.org

run code in 300+ PHP versions simultaneously
<?php $password = "test"; echo "$password \n"; $hashToStoreInDb = password_hash($password, PASSWORD_DEFAULT); echo " $hashToStoreInDb \n"; $isPasswordCorrect = password_verify($password, $hashToStoreInDb); echo "$isPasswordCorrect \n"; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ubBKN
function name:  (null)
number of ops:  22
compiled vars:  !0 = $password, !1 = $hashToStoreInDb, !2 = $isPasswordCorrect
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'test'
    4     1        NOP                                                      
          2        FAST_CONCAT                                      ~4      !0, '+%0A'
          3        ECHO                                                     ~4
    5     4        INIT_FCALL                                               'password_hash'
          5        SEND_VAR                                                 !0
          6        SEND_VAL                                                 '2y'
          7        DO_ICALL                                         $5      
          8        ASSIGN                                                   !1, $5
    6     9        ROPE_INIT                                     3  ~8      '+'
         10        ROPE_ADD                                      1  ~8      ~8, !1
         11        ROPE_END                                      2  ~7      ~8, '+%0A'
         12        ECHO                                                     ~7
    7    13        INIT_FCALL                                               'password_verify'
         14        SEND_VAR                                                 !0
         15        SEND_VAR                                                 !1
         16        DO_ICALL                                         $10     
         17        ASSIGN                                                   !2, $10
    8    18        NOP                                                      
         19        FAST_CONCAT                                      ~12     !2, '+%0A'
         20        ECHO                                                     ~12
    9    21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.01 ms | 1395 KiB | 17 Q