3v4l.org

run code in 300+ PHP versions simultaneously
<!DOCTYPE html> <html lang="pt-br"> <head> <meta charset="utf-8"/> <title>Título da Página</title> </head> <body> <form> <input type='text', name='texto'> </form> </body> </html> <?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 = 11
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 4
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 23
Branch analysis from position: 23
2 jumps found. (Code = 44) Position 1 = 25, Position 2 = 16
Branch analysis from position: 25
1 jumps found. (Code = 42) Position 1 = 36
Branch analysis from position: 36
2 jumps found. (Code = 44) Position 1 = 38, Position 2 = 28
Branch analysis from position: 38
1 jumps found. (Code = 42) Position 1 = 49
Branch analysis from position: 49
2 jumps found. (Code = 44) Position 1 = 51, Position 2 = 41
Branch analysis from position: 51
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 41
2 jumps found. (Code = 44) Position 1 = 51, Position 2 = 41
Branch analysis from position: 51
Branch analysis from position: 41
Branch analysis from position: 28
2 jumps found. (Code = 44) Position 1 = 38, Position 2 = 28
Branch analysis from position: 38
Branch analysis from position: 28
Branch analysis from position: 16
2 jumps found. (Code = 44) Position 1 = 25, Position 2 = 16
Branch analysis from position: 25
Branch analysis from position: 16
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 4
Branch analysis from position: 13
Branch analysis from position: 4
filename:       /in/mGdii
function name:  (null)
number of ops:  52
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '%3C%21DOCTYPE+html%3E%0A%3Chtml+lang%3D%22pt-br%22%3E%0A%3Chead%3E%0A%09%3Cmeta+charset%3D%22utf-8%22%2F%3E%0A%09%3Ctitle%3ET%C3%ADtulo+da+P%C3%A1gina%3C%2Ftitle%3E%0A%3C%2Fhead%3E%0A%3Cbody%3E%0A%0A%09%3Cform%3E%0A%09++++%3Cinput+type%3D%27text%27%2C+name%3D%27texto%27%3E%0A%09%3C%2Fform%3E%0A%0A%3C%2Fbody%3E%0A%3C%2Fhtml%3E%0A%0A'
   19     1        ECHO                                                     '%0D+--+MD5+--%0D'
   20     2        ASSIGN                                                   !0, 0
          3      > JMP                                                      ->11
   21     4    >   INIT_FCALL                                               'var_dump'
          5        INIT_FCALL                                               'md5'
          6        SEND_VAL                                                 'teste'
          7        DO_ICALL                                         $2      
          8        SEND_VAR                                                 $2
          9        DO_ICALL                                                 
   20    10        PRE_INC                                                  !0
         11    >   IS_SMALLER                                               !0, 5
         12      > JMPNZ                                                    ~5, ->4
   25    13    >   ECHO                                                     '%0D+--+SHA1+--%0D'
   26    14        ASSIGN                                                   !0, 0
         15      > JMP                                                      ->23
   27    16    >   INIT_FCALL                                               'var_dump'
         17        INIT_FCALL                                               'sha1'
         18        SEND_VAL                                                 'teste'
         19        DO_ICALL                                         $7      
         20        SEND_VAR                                                 $7
         21        DO_ICALL                                                 
   26    22        PRE_INC                                                  !0
         23    >   IS_SMALLER                                               !0, 5
         24      > JMPNZ                                                    ~10, ->16
   31    25    >   ECHO                                                     '%0D+--+SHA256+--%0D'
   32    26        ASSIGN                                                   !0, 0
         27      > JMP                                                      ->36
   33    28    >   INIT_FCALL                                               'var_dump'
         29        INIT_FCALL                                               'hash'
         30        SEND_VAL                                                 'sha256'
         31        SEND_VAL                                                 'teste'
         32        DO_ICALL                                         $12     
         33        SEND_VAR                                                 $12
         34        DO_ICALL                                                 
   32    35        PRE_INC                                                  !0
         36    >   IS_SMALLER                                               !0, 5
         37      > JMPNZ                                                    ~15, ->28
   37    38    >   ECHO                                                     '%0D+--+PASSWORD+API+--%0D'
   38    39        ASSIGN                                                   !0, 0
         40      > JMP                                                      ->49
   39    41    >   INIT_FCALL                                               'var_dump'
         42        INIT_FCALL                                               'password_hash'
         43        SEND_VAL                                                 'teste'
         44        SEND_VAL                                                 '2y'
         45        DO_ICALL                                         $17     
         46        SEND_VAR                                                 $17
         47        DO_ICALL                                                 
   38    48        PRE_INC                                                  !0
         49    >   IS_SMALLER                                               !0, 5
         50      > JMPNZ                                                    ~20, ->41
   40    51    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.6 ms | 1400 KiB | 23 Q