3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pw="oliander"; $strSalt = substr(md5(uniqid(mt_rand(), true)), 0, 23); $strPassword = sha1($strSalt . $pw); echo $strPassword;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RGYX2
function name:  (null)
number of ops:  23
compiled vars:  !0 = $pw, !1 = $strSalt, !2 = $strPassword
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'oliander'
    3     1        INIT_FCALL                                               'substr'
          2        INIT_FCALL                                               'md5'
          3        INIT_FCALL                                               'uniqid'
          4        INIT_FCALL                                               'mt_rand'
          5        DO_ICALL                                         $4      
          6        SEND_VAR                                                 $4
          7        SEND_VAL                                                 <true>
          8        DO_ICALL                                         $5      
          9        SEND_VAR                                                 $5
         10        DO_ICALL                                         $6      
         11        SEND_VAR                                                 $6
         12        SEND_VAL                                                 0
         13        SEND_VAL                                                 23
         14        DO_ICALL                                         $7      
         15        ASSIGN                                                   !1, $7
    4    16        INIT_FCALL                                               'sha1'
         17        CONCAT                                           ~9      !1, !0
         18        SEND_VAL                                                 ~9
         19        DO_ICALL                                         $10     
         20        ASSIGN                                                   !2, $10
    5    21        ECHO                                                     !2
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.14 ms | 1395 KiB | 23 Q