3v4l.org

run code in 300+ PHP versions simultaneously
<?php $user = "106516"; $pass = "106516"; $user_sha = sha1( strrev( str_rot13( strtolower( $user ) ) ) ); $totaal = $pass; $pass_sha = sha1( strrev( str_rot13( $pass ) ) ); $totaal = substr($pass_sha, 0, -2).substr($user_sha, 15, 1).substr($user_sha, 4, 1); echo $totaal;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jpsZP
function name:  (null)
number of ops:  46
compiled vars:  !0 = $user, !1 = $pass, !2 = $user_sha, !3 = $totaal, !4 = $pass_sha
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '106516'
    3     1        ASSIGN                                                   !1, '106516'
    5     2        INIT_FCALL                                               'sha1'
          3        INIT_FCALL                                               'strrev'
          4        INIT_FCALL                                               'str_rot13'
          5        INIT_FCALL                                               'strtolower'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $7      
          8        SEND_VAR                                                 $7
          9        DO_ICALL                                         $8      
         10        SEND_VAR                                                 $8
         11        DO_ICALL                                         $9      
         12        SEND_VAR                                                 $9
         13        DO_ICALL                                         $10     
         14        ASSIGN                                                   !2, $10
    6    15        ASSIGN                                                   !3, !1
    7    16        INIT_FCALL                                               'sha1'
         17        INIT_FCALL                                               'strrev'
         18        INIT_FCALL                                               'str_rot13'
         19        SEND_VAR                                                 !1
         20        DO_ICALL                                         $13     
         21        SEND_VAR                                                 $13
         22        DO_ICALL                                         $14     
         23        SEND_VAR                                                 $14
         24        DO_ICALL                                         $15     
         25        ASSIGN                                                   !4, $15
    8    26        INIT_FCALL                                               'substr'
         27        SEND_VAR                                                 !4
         28        SEND_VAL                                                 0
         29        SEND_VAL                                                 -2
         30        DO_ICALL                                         $17     
         31        INIT_FCALL                                               'substr'
         32        SEND_VAR                                                 !2
         33        SEND_VAL                                                 15
         34        SEND_VAL                                                 1
         35        DO_ICALL                                         $18     
         36        CONCAT                                           ~19     $17, $18
         37        INIT_FCALL                                               'substr'
         38        SEND_VAR                                                 !2
         39        SEND_VAL                                                 4
         40        SEND_VAL                                                 1
         41        DO_ICALL                                         $20     
         42        CONCAT                                           ~21     ~19, $20
         43        ASSIGN                                                   !3, ~21
    9    44        ECHO                                                     !3
         45      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.24 ms | 1405 KiB | 23 Q