3v4l.org

run code in 300+ PHP versions simultaneously
<?php $password = "GOlli25GOlli25"; $salt = 's4a4aqAWas'; echo substr( sha1( $password . $salt ), 0, 32 );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1QnvG
function name:  (null)
number of ops:  13
compiled vars:  !0 = $password, !1 = $salt
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'GOlli25GOlli25'
    4     1        ASSIGN                                                   !1, 's4a4aqAWas'
    5     2        INIT_FCALL                                               'substr'
          3        INIT_FCALL                                               'sha1'
          4        CONCAT                                           ~4      !0, !1
          5        SEND_VAL                                                 ~4
          6        DO_ICALL                                         $5      
          7        SEND_VAR                                                 $5
          8        SEND_VAL                                                 0
          9        SEND_VAL                                                 32
         10        DO_ICALL                                         $6      
         11        ECHO                                                     $6
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.15 ms | 939 KiB | 18 Q