3v4l.org

run code in 300+ PHP versions simultaneously
<?php // MD5 print("\r -- MD5 --\r"); for ($i = 0; $i < 5; $i++) { var_dump(md5('teste')); } // SHA1 print("\r -- SHA1 --\r"); for ($i = 0; $i < 5; $i++) { var_dump(sha1('teste')); } // SHA256 print("\r -- SHA256 --\r"); for ($i = 0; $i < 5; $i++) { var_dump(hash('sha256', 'teste')); } // PASSWORD API print("\r -- PASSWORD API --\r"); for ($i = 0; $i < 5; $i++) { var_dump(password_hash('teste', PASSWORD_DEFAULT)); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 3
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 22
Branch analysis from position: 22
2 jumps found. (Code = 44) Position 1 = 24, Position 2 = 15
Branch analysis from position: 24
1 jumps found. (Code = 42) Position 1 = 35
Branch analysis from position: 35
2 jumps found. (Code = 44) Position 1 = 37, Position 2 = 27
Branch analysis from position: 37
1 jumps found. (Code = 42) Position 1 = 48
Branch analysis from position: 48
2 jumps found. (Code = 44) Position 1 = 50, Position 2 = 40
Branch analysis from position: 50
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 40
2 jumps found. (Code = 44) Position 1 = 50, Position 2 = 40
Branch analysis from position: 50
Branch analysis from position: 40
Branch analysis from position: 27
2 jumps found. (Code = 44) Position 1 = 37, Position 2 = 27
Branch analysis from position: 37
Branch analysis from position: 27
Branch analysis from position: 15
2 jumps found. (Code = 44) Position 1 = 24, Position 2 = 15
Branch analysis from position: 24
Branch analysis from position: 15
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 3
Branch analysis from position: 12
Branch analysis from position: 3
filename:       /in/mdFil
function name:  (null)
number of ops:  51
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ECHO                                                     '%0D+--+MD5+--%0D'
    5     1        ASSIGN                                                   !0, 0
          2      > JMP                                                      ->10
    6     3    >   INIT_FCALL                                               'var_dump'
          4        INIT_FCALL                                               'md5'
          5        SEND_VAL                                                 'teste'
          6        DO_ICALL                                         $2      
          7        SEND_VAR                                                 $2
          8        DO_ICALL                                                 
    5     9        PRE_INC                                                  !0
         10    >   IS_SMALLER                                               !0, 5
         11      > JMPNZ                                                    ~5, ->3
   10    12    >   ECHO                                                     '%0D+--+SHA1+--%0D'
   11    13        ASSIGN                                                   !0, 0
         14      > JMP                                                      ->22
   12    15    >   INIT_FCALL                                               'var_dump'
         16        INIT_FCALL                                               'sha1'
         17        SEND_VAL                                                 'teste'
         18        DO_ICALL                                         $7      
         19        SEND_VAR                                                 $7
         20        DO_ICALL                                                 
   11    21        PRE_INC                                                  !0
         22    >   IS_SMALLER                                               !0, 5
         23      > JMPNZ                                                    ~10, ->15
   16    24    >   ECHO                                                     '%0D+--+SHA256+--%0D'
   17    25        ASSIGN                                                   !0, 0
         26      > JMP                                                      ->35
   18    27    >   INIT_FCALL                                               'var_dump'
         28        INIT_FCALL                                               'hash'
         29        SEND_VAL                                                 'sha256'
         30        SEND_VAL                                                 'teste'
         31        DO_ICALL                                         $12     
         32        SEND_VAR                                                 $12
         33        DO_ICALL                                                 
   17    34        PRE_INC                                                  !0
         35    >   IS_SMALLER                                               !0, 5
         36      > JMPNZ                                                    ~15, ->27
   22    37    >   ECHO                                                     '%0D+--+PASSWORD+API+--%0D'
   23    38        ASSIGN                                                   !0, 0
         39      > JMP                                                      ->48
   24    40    >   INIT_FCALL                                               'var_dump'
         41        INIT_FCALL                                               'password_hash'
         42        SEND_VAL                                                 'teste'
         43        SEND_VAL                                                 '2y'
         44        DO_ICALL                                         $17     
         45        SEND_VAR                                                 $17
         46        DO_ICALL                                                 
   23    47        PRE_INC                                                  !0
         48    >   IS_SMALLER                                               !0, 5
         49      > JMPNZ                                                    ~20, ->40
   25    50    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
126.21 ms | 1462 KiB | 18 Q