3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(password_hash('password', PASSWORD_DEFAULT, ['cost' => 14])); var_dump(strlen(password_hash('password', PASSWORD_DEFAULT, ['cost' => 14])));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OJHvc
function name:  (null)
number of ops:  18
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                                                 'password'
          3        SEND_VAL                                                 '2y'
          4        SEND_VAL                                                 <array>
          5        DO_ICALL                                         $0      
          6        SEND_VAR                                                 $0
          7        DO_ICALL                                                 
    5     8        INIT_FCALL                                               'var_dump'
          9        INIT_FCALL                                               'password_hash'
         10        SEND_VAL                                                 'password'
         11        SEND_VAL                                                 '2y'
         12        SEND_VAL                                                 <array>
         13        DO_ICALL                                         $2      
         14        STRLEN                                           ~3      $2
         15        SEND_VAL                                                 ~3
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.05 ms | 1394 KiB | 17 Q