3v4l.org

run code in 300+ PHP versions simultaneously
<?php function hash1($string, $salt = 'IabSolmenistan') { return md5(strtoupper($salt) . $string . strtolower($salt)); } echo hash1('AlaNieMaKota');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4M3Su
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'hash1'
          1        SEND_VAL                                                 'AlaNieMaKota'
          2        DO_FCALL                                      0  $0      
          3        ECHO                                                     $0
          4      > RETURN                                                   1

Function hash1:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4M3Su
function name:  hash1
number of ops:  15
compiled vars:  !0 = $string, !1 = $salt
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
          1        RECV_INIT                                        !1      'IabSolmenistan'
    3     2        INIT_FCALL                                               'md5'
          3        INIT_FCALL                                               'strtoupper'
          4        SEND_VAR                                                 !1
          5        DO_ICALL                                         $2      
          6        CONCAT                                           ~3      $2, !0
          7        INIT_FCALL                                               'strtolower'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                         $4      
         10        CONCAT                                           ~5      ~3, $4
         11        SEND_VAL                                                 ~5
         12        DO_ICALL                                         $6      
         13      > RETURN                                                   $6
    4    14*     > RETURN                                                   null

End of function hash1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.92 ms | 1397 KiB | 20 Q