3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $cost = 4; echo password_hash("test", PASSWORD_BCRYPT, ["cost" => $cost]);
based on 2YSMg
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BZ2jf
function name:  (null)
number of ops:  9
compiled vars:  !0 = $cost
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E >   ASSIGN                                                   !0, 4
   3     1        INIT_FCALL                                               'password_hash'
         2        SEND_VAL                                                 'test'
         3        SEND_VAL                                                 1
         4        INIT_ARRAY                                       ~2      !0, 'cost'
         5        SEND_VAL                                                 ~2
         6        DO_ICALL                                         $3      
         7        ECHO                                                     $3
         8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0