3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.08 ms | 1394 KiB | 19 Q