3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(password_hash("Password1", PASSWORD_DEFAULT)); var_dump(password_hash("Password1", PASSWORD_DEFAULT, ["cost" => 5]));
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/nGKTC
function name:  (null)
number of ops:  16
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   INIT_FCALL                                               'var_dump'
         1        INIT_FCALL                                               'password_hash'
         2        SEND_VAL                                                 'Password1'
         3        SEND_VAL                                                 1
         4        DO_ICALL                                         $0      
         5        SEND_VAR                                                 $0
         6        DO_ICALL                                                 
   5     7        INIT_FCALL                                               'var_dump'
         8        INIT_FCALL                                               'password_hash'
         9        SEND_VAL                                                 'Password1'
        10        SEND_VAL                                                 1
        11        SEND_VAL                                                 <array>
        12        DO_ICALL                                         $2      
        13        SEND_VAR                                                 $2
        14        DO_ICALL                                                 
        15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.1.0