3v4l.org

run code in 300+ PHP versions simultaneously
Name: <input type="text" name="name" value="<?php echo $name;?>"> E-mail: <input type="text" name="email" value="<?php echo $email;?>"> Website: <input type="text" name="website" value="<?php echo $website;?>"> Comment: <textarea name="comment" rows="5" cols="40"><?php echo $comment;?></textarea> Gender: <input type="radio" name="gender" <?php if (isset($gender) && $gender=="female") echo "checked";?> value="female">Female <input type="radio" name="gender" <?php if (isset($gender) && $gender=="male") echo "checked";?> value="male">Male
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 11, Position 2 = 13
Branch analysis from position: 11
2 jumps found. (Code = 43) Position 1 = 14, Position 2 = 15
Branch analysis from position: 14
2 jumps found. (Code = 46) Position 1 = 18, Position 2 = 20
Branch analysis from position: 18
2 jumps found. (Code = 43) Position 1 = 21, Position 2 = 22
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 22
Branch analysis from position: 20
Branch analysis from position: 15
Branch analysis from position: 13
filename:       /in/eSvQT
function name:  (null)
number of ops:  24
compiled vars:  !0 = $name, !1 = $email, !2 = $website, !3 = $comment, !4 = $gender
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     'Name%3A+%3Cinput+type%3D%22text%22+name%3D%22name%22+value%3D%22'
          1        ECHO                                                     !0
          2        ECHO                                                     '%22%3E%0A%0AE-mail%3A+%3Cinput+type%3D%22text%22+name%3D%22email%22+value%3D%22'
    3     3        ECHO                                                     !1
          4        ECHO                                                     '%22%3E%0A%0AWebsite%3A+%3Cinput+type%3D%22text%22+name%3D%22website%22+value%3D%22'
    5     5        ECHO                                                     !2
          6        ECHO                                                     '%22%3E%0A%0AComment%3A+%3Ctextarea+name%3D%22comment%22+rows%3D%225%22+cols%3D%2240%22%3E'
    7     7        ECHO                                                     !3
          8        ECHO                                                     '%3C%2Ftextarea%3E%0A%0AGender%3A%0A%3Cinput+type%3D%22radio%22+name%3D%22gender%22%0A'
   11     9        ISSET_ISEMPTY_CV                                 ~5      !4
         10      > JMPZ_EX                                          ~5      ~5, ->13
         11    >   IS_EQUAL                                         ~6      !4, 'female'
         12        BOOL                                             ~5      ~6
         13    > > JMPZ                                                     ~5, ->15
         14    >   ECHO                                                     'checked'
   12    15    >   ECHO                                                     'value%3D%22female%22%3EFemale%0A%3Cinput+type%3D%22radio%22+name%3D%22gender%22%0A'
   14    16        ISSET_ISEMPTY_CV                                 ~7      !4
         17      > JMPZ_EX                                          ~7      ~7, ->20
         18    >   IS_EQUAL                                         ~8      !4, 'male'
         19        BOOL                                             ~7      ~8
         20    > > JMPZ                                                     ~7, ->22
         21    >   ECHO                                                     'checked'
   15    22    >   ECHO                                                     'value%3D%22male%22%3EMale'
         23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.83 ms | 1395 KiB | 13 Q