3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input_pass = 'example'; $step1 = md5($input_pass); $inner = crypt(pi(),hash('sha512',$input_pass)); $final_pass = hash('sha512',$inner); var_dump($inner, $final_pass);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1P9k7
function name:  (null)
number of ops:  26
compiled vars:  !0 = $input_pass, !1 = $step1, !2 = $inner, !3 = $final_pass
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'example'
    3     1        INIT_FCALL                                               'md5'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $5      
          4        ASSIGN                                                   !1, $5
    4     5        INIT_FCALL                                               'crypt'
          6        INIT_FCALL                                               'pi'
          7        DO_ICALL                                         $7      
          8        SEND_VAR                                                 $7
          9        INIT_FCALL                                               'hash'
         10        SEND_VAL                                                 'sha512'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                         $8      
         13        SEND_VAR                                                 $8
         14        DO_ICALL                                         $9      
         15        ASSIGN                                                   !2, $9
    5    16        INIT_FCALL                                               'hash'
         17        SEND_VAL                                                 'sha512'
         18        SEND_VAR                                                 !2
         19        DO_ICALL                                         $11     
         20        ASSIGN                                                   !3, $11
    6    21        INIT_FCALL                                               'var_dump'
         22        SEND_VAR                                                 !2
         23        SEND_VAR                                                 !3
         24        DO_ICALL                                                 
         25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.08 ms | 1395 KiB | 23 Q