3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.96 ms | 1386 KiB | 19 Q