3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $hundred = '1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'; $password = 'foo'; $hash = password_hash($hundred . $password, PASSWORD_BCRYPT); $result = password_verify($hundred . 'gghdhdhdhBAR', $hash); var_dump($result);
based on 8goeA
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/0AYMK
function name:  (null)
number of ops:  18
compiled vars:  !0 = $hundred, !1 = $password, !2 = $hash, !3 = $result
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E >   ASSIGN                                                   !0, '1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'
   3     1        ASSIGN                                                   !1, 'foo'
   4     2        INIT_FCALL                                               'password_hash'
         3        CONCAT                                           ~6      !0, !1
         4        SEND_VAL                                                 ~6
         5        SEND_VAL                                                 1
         6        DO_ICALL                                         $7      
         7        ASSIGN                                                   !2, $7
   5     8        INIT_FCALL                                               'password_verify'
         9        CONCAT                                           ~9      !0, 'gghdhdhdhBAR'
        10        SEND_VAL                                                 ~9
        11        SEND_VAR                                                 !2
        12        DO_ICALL                                         $10     
        13        ASSIGN                                                   !3, $10
   6    14        INIT_FCALL                                               'var_dump'
        15        SEND_VAR                                                 !3
        16        DO_ICALL                                                 
        17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0