3v4l.org

run code in 300+ PHP versions simultaneously
<?php $salt = substr(md5(time()), 0, 22); echo crypt('test', '$2y$07$'.$salt.'$');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3Zvfr
function name:  (null)
number of ops:  19
compiled vars:  !0 = $salt
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'substr'
          1        INIT_FCALL                                               'md5'
          2        INIT_FCALL                                               'time'
          3        DO_ICALL                                         $1      
          4        SEND_VAR                                                 $1
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
          7        SEND_VAL                                                 0
          8        SEND_VAL                                                 22
          9        DO_ICALL                                         $3      
         10        ASSIGN                                                   !0, $3
    3    11        INIT_FCALL                                               'crypt'
         12        SEND_VAL                                                 'test'
         13        CONCAT                                           ~5      '%242y%2407%24', !0
         14        CONCAT                                           ~6      ~5, '%24'
         15        SEND_VAL                                                 ~6
         16        DO_ICALL                                         $7      
         17        ECHO                                                     $7
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
180.48 ms | 1386 KiB | 21 Q