3v4l.org

run code in 300+ PHP versions simultaneously
<?php $user = "admin123"; $pass = "pass1234"; $secret= "pass123"; if(strcasecmp($user, "admin") && strcasecmp($pass, $secret)){ echo"Here is your flag..\n"; echo "Noob";} else echo"No flag for n00bs..\n"; ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 8, Position 2 = 13
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 14, Position 2 = 17
Branch analysis from position: 14
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
filename:       /in/ZTKEs
function name:  (null)
number of ops:  19
compiled vars:  !0 = $user, !1 = $pass, !2 = $secret
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'admin123'
    4     1        ASSIGN                                                   !1, 'pass1234'
    5     2        ASSIGN                                                   !2, 'pass123'
    6     3        INIT_FCALL                                               'strcasecmp'
          4        SEND_VAR                                                 !0
          5        SEND_VAL                                                 'admin'
          6        DO_ICALL                                         $6      
          7      > JMPZ_EX                                          ~7      $6, ->13
          8    >   INIT_FCALL                                               'strcasecmp'
          9        SEND_VAR                                                 !1
         10        SEND_VAR                                                 !2
         11        DO_ICALL                                         $8      
         12        BOOL                                             ~7      $8
         13    > > JMPZ                                                     ~7, ->17
    7    14    >   ECHO                                                     'Here+is+your+flag..%0A'
    8    15        ECHO                                                     'Noob'
         16      > JMP                                                      ->18
   10    17    >   ECHO                                                     'No+flag+for+n00bs..%0A'
   11    18    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.37 ms | 1395 KiB | 15 Q