3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = (int) (microtime(true) * 1000); echo password_hash('dsddssds', PASSWORD_BCRYPT, ['cost' => 20]) . "\n"; echo ((int) (microtime(true) * 1000)) - $s;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Dtk7F
function name:  (null)
number of ops:  21
compiled vars:  !0 = $s
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'microtime'
          1        SEND_VAL                                                 <true>
          2        DO_ICALL                                         $1      
          3        MUL                                              ~2      $1, 1000
          4        CAST                                          4  ~3      ~2
          5        ASSIGN                                                   !0, ~3
          6        INIT_FCALL                                               'password_hash'
          7        SEND_VAL                                                 'dsddssds'
          8        SEND_VAL                                                 '2y'
          9        SEND_VAL                                                 <array>
         10        DO_ICALL                                         $5      
         11        CONCAT                                           ~6      $5, '%0A'
         12        ECHO                                                     ~6
         13        INIT_FCALL                                               'microtime'
         14        SEND_VAL                                                 <true>
         15        DO_ICALL                                         $7      
         16        MUL                                              ~8      $7, 1000
         17        CAST                                          4  ~9      ~8
         18        SUB                                              ~10     ~9, !0
         19        ECHO                                                     ~10
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.41 ms | 1395 KiB | 17 Q