3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sex = 'male'; if($sex !='male' AND $sex != 'female') { echo "<font color='red'><h1>Trying to hax me! no cool bro :(</h1></font>"; } else { echo "$sex var is either male or female"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 3, Position 2 = 5
Branch analysis from position: 3
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 8
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
filename:       /in/hWnWU
function name:  (null)
number of ops:  12
compiled vars:  !0 = $sex
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'male'
    3     1        IS_NOT_EQUAL                                     ~2      !0, 'male'
          2      > JMPZ_EX                                          ~2      ~2, ->5
          3    >   IS_NOT_EQUAL                                     ~3      !0, 'female'
          4        BOOL                                             ~2      ~3
          5    > > JMPZ                                                     ~2, ->8
    4     6    >   ECHO                                                     '%3Cfont+color%3D%27red%27%3E%3Ch1%3ETrying+to+hax+me%21+no+cool+bro+%3A%28%3C%2Fh1%3E%3C%2Ffont%3E'
          7      > JMP                                                      ->11
    7     8    >   NOP                                                      
          9        FAST_CONCAT                                      ~4      !0, '+var+is+either+male+or+female'
         10        ECHO                                                     ~4
    8    11    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.74 ms | 1384 KiB | 13 Q