3v4l.org

run code in 300+ PHP versions simultaneously
<?php $auth = "\x08"; $hsh = "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"; if ($hsh !== hash("sha256", "aaaabbbb" . strrev($auth))) { echo "aaaabbbb$auth".chr(8); echo "aaaabbbb"; echo "$auth"; $auth = false; } echo $auth; ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 20
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 20
filename:       /in/MjboV
function name:  (null)
number of ops:  22
compiled vars:  !0 = $auth, !1 = $hsh
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%08'
    3     1        ASSIGN                                                   !1, 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
    4     2        INIT_FCALL                                               'hash'
          3        SEND_VAL                                                 'sha256'
          4        INIT_FCALL                                               'strrev'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $4      
          7        CONCAT                                           ~5      'aaaabbbb', $4
          8        SEND_VAL                                                 ~5
          9        DO_ICALL                                         $6      
         10        IS_NOT_IDENTICAL                                         !1, $6
         11      > JMPZ                                                     ~7, ->20
    5    12    >   NOP                                                      
         13        FAST_CONCAT                                      ~8      'aaaabbbb', !0
         14        CONCAT                                           ~9      ~8, '%08'
         15        ECHO                                                     ~9
    6    16        ECHO                                                     'aaaabbbb'
    7    17        CAST                                          6  ~10     !0
         18        ECHO                                                     ~10
    8    19        ASSIGN                                                   !0, <false>
   11    20    >   ECHO                                                     !0
   14    21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.01 ms | 1395 KiB | 17 Q