3v4l.org

run code in 300+ PHP versions simultaneously
<html> <head> <title> Register ! </title> <style> .bdy { padding-top:2.5%; width:80%; font-size:16pt; } .t { width:50%; font-size:18pt; } .header { top:0; left:0; width:100%; background: #F8F8F8; color:#000000; height:5%; position:fixed; text-align:right; font-size:25pt; padding-top:5; } .spacer { width:70%; height:2; display:inline-block; } .sp2 { width:5; height:2; display:inline-block; } .sub { top:0; left:0; bottom:0; width:10%; height:100%; background: #F6F6F6; color:#0F0F0F; font-size:30pt; text-align:center; display:inline-block; -webkit-transition: all 0.7s; -moz-transition: all 0.7s; -ms-transition: all 0.7s; transition: all 0.7s; } pre { display:inline; font-size:20pt; font-face:Arial; } .sub:hover { background: #2F2F8F; color:#FFFFF0; } .f { font-size:25pt; } .ht { top:0; left:0; color:#060606; font-size:25pt; display:inline; } .e { font-size:14pt; height:auto; width:auto; color:red; } body { background:black; color:white; } .sbt { height:80; width:120; color:white; background: #1ABC9C; border:none; -webkit-border-radius:15px; -moz-border-radius:15px; -ms-border-radius:15px; border-radius:15px; -webkit-transition: all 0.4s; -moz-transition: all 0.4s; -ms-transition: all 0.4s; transition: all 0.4s; } .sbt:hover { background: #7A7AFF; } .ok { color:green; font-size:30pt; } </style> </head> <body> <div class="header"> <div class="ht"> Register </div> <div class="spacer"> <br> </div> <a href="index.php"> <div class="sub"> Home </div> </a> <div class="sp2"> <br> </div> <div class="sub"> Login </div> <div class="sp2"> <br> </div> </div> <center> <?php $e=0; ?> <div class="bdy"><br><br><br><br> <fieldset class="f"> <br><br> <pre>Kindly fill the form below to register ... </pre> <br><br> <form action="register.php"> <pre>First Name: </pre><input type="text" class="t" name="fn" value="<?php if(isset($_REQUEST['stat'])) echo $_REQUEST['fn']; ?>"> <br> <div class=e> <?php if(isset($_REQUEST['stat'])) { if($_REQUEST['fn']=="") { $e=1; echo'First Name Cannot Be Empty!'; } } ?> </div><br> <pre>Last Name: </pre><input type="text" class="t" name="ln" value="<?php if(isset($_REQUEST['stat'])) echo $_REQUEST['ln']; ?>"> <br> <div class=e> <?php if(isset($_REQUEST['stat'])) { if($_REQUEST['ln']=="") { $e=1; echo'Last Name Cannot Be Empty!'; } } ?> </div><br> <pre>Email ID: </pre><input type="text" class="t" name="ei" value="<?php if(isset($_REQUEST['stat'])) echo $_REQUEST['ei']; ?>" ><br> <div class=e> <?php if(isset($_REQUEST['stat'])) { if($_REQUEST['ei']=="") { $e=1; echo'Email Cannot Be Empty!'; } } ?> </div><br> <pre>Choose a username: </pre><input type="text" class="t" name="un" value="<?php if(isset($_REQUEST['stat'])) echo $_REQUEST['un']; ?>"><br> <div class=e> <?php if(isset($_REQUEST['stat'])) { if($_REQUEST['un']=="") { $e=1; echo'Username Cannot Be Empty!'; } } ?> </div><br> <pre>Choose a password: </pre><input type="password" class="t" name="pass"><br> <div class=e><?php if(isset($_REQUEST['stat'])) { if($_REQUEST['pass']=="") { $e=1; echo'Password Cannot Be Empty!'; } } ?> </div><br> <pre>Verify password: </pre><input type="password" class="t" name="ver"> <div class=e> <?php if(isset($_REQUEST['stat'])) { if($_REQUEST['ver']=="") { echo'Verify Password Cannot Be Empty!<br>'; $e=1; } if($_REQUEST['ver']!=$_REQUEST['pass']) { echo'Passwords DO NOT match'; $e=1; } } ?> </div><br><br> <input type="submit" class="sbt" name="sb" value="Sumit !"> <input type="hidden" name="stat" value="true"> <?php if(isset($_REQUEST['stat'])) { if($e==0) { echo '<br><br><br><div class="ok"> All details are correct ! </div>'; } } ?> </form> </fieldset> </center> </div> </body> </html>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 9
Branch analysis from position: 6
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 19
Branch analysis from position: 13
2 jumps found. (Code = 43) Position 1 = 17, Position 2 = 19
Branch analysis from position: 17
2 jumps found. (Code = 43) Position 1 = 23, Position 2 = 26
Branch analysis from position: 23
2 jumps found. (Code = 43) Position 1 = 30, Position 2 = 36
Branch analysis from position: 30
2 jumps found. (Code = 43) Position 1 = 34, Position 2 = 36
Branch analysis from position: 34
2 jumps found. (Code = 43) Position 1 = 40, Position 2 = 43
Branch analysis from position: 40
2 jumps found. (Code = 43) Position 1 = 47, Position 2 = 53
Branch analysis from position: 47
2 jumps found. (Code = 43) Position 1 = 51, Position 2 = 53
Branch analysis from position: 51
2 jumps found. (Code = 43) Position 1 = 57, Position 2 = 60
Branch analysis from position: 57
2 jumps found. (Code = 43) Position 1 = 64, Position 2 = 70
Branch analysis from position: 64
2 jumps found. (Code = 43) Position 1 = 68, Position 2 = 70
Branch analysis from position: 68
2 jumps found. (Code = 43) Position 1 = 74, Position 2 = 80
Branch analysis from position: 74
2 jumps found. (Code = 43) Position 1 = 78, Position 2 = 80
Branch analysis from position: 78
2 jumps found. (Code = 43) Position 1 = 84, Position 2 = 98
Branch analysis from position: 84
2 jumps found. (Code = 43) Position 1 = 88, Position 2 = 90
Branch analysis from position: 88
2 jumps found. (Code = 43) Position 1 = 96, Position 2 = 98
Branch analysis from position: 96
2 jumps found. (Code = 43) Position 1 = 102, Position 2 = 105
Branch analysis from position: 102
2 jumps found. (Code = 43) Position 1 = 104, Position 2 = 105
Branch analysis from position: 104
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 105
Branch analysis from position: 105
Branch analysis from position: 98
Branch analysis from position: 90
Branch analysis from position: 98
Branch analysis from position: 80
Branch analysis from position: 80
Branch analysis from position: 70
Branch analysis from position: 70
Branch analysis from position: 60
Branch analysis from position: 53
Branch analysis from position: 53
Branch analysis from position: 43
Branch analysis from position: 36
Branch analysis from position: 36
Branch analysis from position: 26
Branch analysis from position: 19
Branch analysis from position: 19
Branch analysis from position: 9
filename:       /in/SkN2i
function name:  (null)
number of ops:  107
compiled vars:  !0 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '%3Chtml%3E%0A%3Chead%3E%0A%3Ctitle%3E%0ARegister+%21%0A%3C%2Ftitle%3E%0A%3Cstyle%3E%0A.bdy%0A%7B%0Apadding-top%3A2.5%25%3B%0Awidth%3A80%25%3B%0Afont-size%3A16pt%3B%0A%7D%0A.t%0A%7B%0Awidth%3A50%25%3B%0Afont-size%3A18pt%3B%0A%7D%0A.header%0A%7B%0Atop%3A0%3B%0Aleft%3A0%3B%0Awidth%3A100%25%3B%0Abackground%3A+%23F8F8F8%3B%0Acolor%3A%23000000%3B%0Aheight%3A5%25%3B%0Aposition%3Afixed%3B%0Atext-align%3Aright%3B%0Afont-size%3A25pt%3B%0Apadding-top%3A5%3B%0A%7D%0A.spacer%0A%7B%0Awidth%3A70%25%3B%0Aheight%3A2%3B%0Adisplay%3Ainline-block%3B%0A%7D%0A.sp2%0A%7B%0Awidth%3A5%3B%0Aheight%3A2%3B%0Adisplay%3Ainline-block%3B%0A%7D%0A.sub%0A%7B%0Atop%3A0%3B%0Aleft%3A0%3B%0Abottom%3A0%3B%0Awidth%3A10%25%3B%0Aheight%3A100%25%3B%0Abackground%3A+%23F6F6F6%3B%0Acolor%3A%230F0F0F%3B%0Afont-size%3A30pt%3B%0Atext-align%3Acenter%3B%0Adisplay%3Ainline-block%3B%0A-webkit-transition%3A+all+0.7s%3B%0A-moz-transition%3A+all+0.7s%3B%0A-ms-transition%3A+all+0.7s%3B%0A+transition%3A+all+0.7s%3B%0A%7D%0Apre%0A%7B%0Adisplay%3Ainline%3B%0Afont-size%3A20pt%3B%0Afont-face%3AArial%3B%0A%7D%0A.sub%3Ahover%0A%7B%0Abackground%3A+%232F2F8F%3B%0Acolor%3A%23FFFFF0%3B%0A%7D%0A.f%0A%7B%0Afont-size%3A25pt%3B%0A%7D%0A.ht%0A%7B%0Atop%3A0%3B%0Aleft%3A0%3B%0Acolor%3A%23060606%3B%0Afont-size%3A25pt%3B%0Adisplay%3Ainline%3B%0A%7D%0A.e%0A%7B%0Afont-size%3A14pt%3B%0Aheight%3Aauto%3B%0Awidth%3Aauto%3B%0Acolor%3Ared%3B%0A%7D%0Abody%0A%7B%0Abackground%3Ablack%3B%0Acolor%3Awhite%3B%0A%7D%0A.sbt%0A%7B%0Aheight%3A80%3B%0Awidth%3A120%3B%0Acolor%3Awhite%3B%0Abackground%3A+%231ABC9C%3B%0Aborder%3Anone%3B%0A-webkit-border-radius%3A15px%3B%0A-moz-border-radius%3A15px%3B%0A-ms-border-radius%3A15px%3B%0Aborder-radius%3A15px%3B%0A-webkit-transition%3A+all+0.4s%3B%0A-moz-transition%3A+all+0.4s%3B%0A-ms-transition%3A+all+0.4s%3B%0Atransition%3A+all+0.4s%3B%0A%7D%0A.sbt%3Ahover%0A%7B%0Abackground%3A+%237A7AFF%3B%0A%7D%0A.ok%0A%7B%0Acolor%3Agreen%3B%0Afont-size%3A30pt%3B%0A%7D%0A%3C%2Fstyle%3E%0A%3C%2Fhead%3E%0A%3Cbody%3E%0A%3Cdiv+class%3D%22header%22%3E%0A%3Cdiv+class%3D%22ht%22%3E%0ARegister%0A%3C%2Fdiv%3E%0A%3Cdiv+class%3D%22spacer%22%3E%0A%3Cbr%3E%0A%3C%2Fdiv%3E%0A%3Ca+href%3D%22index.php%22%3E%0A%3Cdiv+class%3D%22sub%22%3E%0AHome%0A%3C%2Fdiv%3E%0A%3C%2Fa%3E%0A%3Cdiv+class%3D%22sp2%22%3E%0A%3Cbr%3E%0A%3C%2Fdiv%3E%0A%3Cdiv+class%3D%22sub%22%3E%0ALogin%0A%3C%2Fdiv%3E%0A%3Cdiv+class%3D%22sp2%22%3E%0A%3Cbr%3E%0A%3C%2Fdiv%3E%0A%3C%2Fdiv%3E%0A%3Ccenter%3E%0A'
  147     1        ASSIGN                                                   !0, 0
  149     2        ECHO                                                     '%3Cdiv+class%3D%22bdy%22%3E%3Cbr%3E%3Cbr%3E%3Cbr%3E%3Cbr%3E%0A%3Cfieldset+class%3D%22f%22%3E%0A%3Cbr%3E%3Cbr%3E%0A%3Cpre%3EKindly+fill+the+form+below+to+register+...+%3C%2Fpre%3E%0A%3Cbr%3E%3Cbr%3E%0A%3Cform+action%3D%22register.php%22%3E%0A%3Cpre%3EFirst+Name%3A++++++++%3C%2Fpre%3E%3Cinput+type%3D%22text%22+class%3D%22t%22+name%3D%22fn%22+value%3D%22'
  155     3        FETCH_IS                                         ~2      '_REQUEST'
          4        ISSET_ISEMPTY_DIM_OBJ                         0          ~2, 'stat'
          5      > JMPZ                                                     ~3, ->9
          6    >   FETCH_R                      global              ~4      '_REQUEST'
          7        FETCH_DIM_R                                      ~5      ~4, 'fn'
          8        ECHO                                                     ~5
          9    >   ECHO                                                     '%22%3E+%3Cbr%3E%0A%3Cdiv+class%3De%3E%0A'
  158    10        FETCH_IS                                         ~6      '_REQUEST'
         11        ISSET_ISEMPTY_DIM_OBJ                         0          ~6, 'stat'
         12      > JMPZ                                                     ~7, ->19
  160    13    >   FETCH_R                      global              ~8      '_REQUEST'
         14        FETCH_DIM_R                                      ~9      ~8, 'fn'
         15        IS_EQUAL                                                 ~9, ''
         16      > JMPZ                                                     ~10, ->19
  162    17    >   ASSIGN                                                   !0, 1
  163    18        ECHO                                                     'First+Name+Cannot+Be+Empty%21'
  167    19    >   ECHO                                                     '%3C%2Fdiv%3E%3Cbr%3E%0A%3Cpre%3ELast+Name%3A+++++++++%3C%2Fpre%3E%3Cinput+type%3D%22text%22+class%3D%22t%22+name%3D%22ln%22+value%3D%22'
  168    20        FETCH_IS                                         ~12     '_REQUEST'
         21        ISSET_ISEMPTY_DIM_OBJ                         0          ~12, 'stat'
         22      > JMPZ                                                     ~13, ->26
         23    >   FETCH_R                      global              ~14     '_REQUEST'
         24        FETCH_DIM_R                                      ~15     ~14, 'ln'
         25        ECHO                                                     ~15
         26    >   ECHO                                                     '%22%3E+%3Cbr%3E%0A%3Cdiv+class%3De%3E%0A'
  171    27        FETCH_IS                                         ~16     '_REQUEST'
         28        ISSET_ISEMPTY_DIM_OBJ                         0          ~16, 'stat'
         29      > JMPZ                                                     ~17, ->36
  173    30    >   FETCH_R                      global              ~18     '_REQUEST'
         31        FETCH_DIM_R                                      ~19     ~18, 'ln'
         32        IS_EQUAL                                                 ~19, ''
         33      > JMPZ                                                     ~20, ->36
  175    34    >   ASSIGN                                                   !0, 1
  176    35        ECHO                                                     'Last+Name+Cannot+Be+Empty%21'
  180    36    >   ECHO                                                     '%3C%2Fdiv%3E%3Cbr%3E%0A%3Cpre%3EEmail+ID%3A++++++++++%3C%2Fpre%3E%3Cinput+type%3D%22text%22+class%3D%22t%22+name%3D%22ei%22+value%3D%22'
  181    37        FETCH_IS                                         ~22     '_REQUEST'
         38        ISSET_ISEMPTY_DIM_OBJ                         0          ~22, 'stat'
         39      > JMPZ                                                     ~23, ->43
         40    >   FETCH_R                      global              ~24     '_REQUEST'
         41        FETCH_DIM_R                                      ~25     ~24, 'ei'
         42        ECHO                                                     ~25
         43    >   ECHO                                                     '%22+%3E%3Cbr%3E%0A%3Cdiv+class%3De%3E%0A'
  184    44        FETCH_IS                                         ~26     '_REQUEST'
         45        ISSET_ISEMPTY_DIM_OBJ                         0          ~26, 'stat'
         46      > JMPZ                                                     ~27, ->53
  186    47    >   FETCH_R                      global              ~28     '_REQUEST'
         48        FETCH_DIM_R                                      ~29     ~28, 'ei'
         49        IS_EQUAL                                                 ~29, ''
         50      > JMPZ                                                     ~30, ->53
  188    51    >   ASSIGN                                                   !0, 1
  189    52        ECHO                                                     'Email+Cannot+Be+Empty%21'
  193    53    >   ECHO                                                     '%3C%2Fdiv%3E%3Cbr%3E%0A%3Cpre%3EChoose+a+username%3A+%3C%2Fpre%3E%3Cinput+type%3D%22text%22+class%3D%22t%22+name%3D%22un%22+value%3D%22'
  194    54        FETCH_IS                                         ~32     '_REQUEST'
         55        ISSET_ISEMPTY_DIM_OBJ                         0          ~32, 'stat'
         56      > JMPZ                                                     ~33, ->60
         57    >   FETCH_R                      global              ~34     '_REQUEST'
         58        FETCH_DIM_R                                      ~35     ~34, 'un'
         59        ECHO                                                     ~35
         60    >   ECHO                                                     '%22%3E%3Cbr%3E%0A%3Cdiv+class%3De%3E%0A'
  197    61        FETCH_IS                                         ~36     '_REQUEST'
         62        ISSET_ISEMPTY_DIM_OBJ                         0          ~36, 'stat'
         63      > JMPZ                                                     ~37, ->70
  199    64    >   FETCH_R                      global              ~38     '_REQUEST'
         65        FETCH_DIM_R                                      ~39     ~38, 'un'
         66        IS_EQUAL                                                 ~39, ''
         67      > JMPZ                                                     ~40, ->70
  201    68    >   ASSIGN                                                   !0, 1
  202    69        ECHO                                                     'Username+Cannot+Be+Empty%21'
  206    70    >   ECHO                                                     '%3C%2Fdiv%3E%3Cbr%3E%0A%3Cpre%3EChoose+a+password%3A+%3C%2Fpre%3E%3Cinput+type%3D%22password%22+class%3D%22t%22+name%3D%22pass%22%3E%3Cbr%3E%0A%3Cdiv+class%3De%3E'
  209    71        FETCH_IS                                         ~42     '_REQUEST'
         72        ISSET_ISEMPTY_DIM_OBJ                         0          ~42, 'stat'
         73      > JMPZ                                                     ~43, ->80
  211    74    >   FETCH_R                      global              ~44     '_REQUEST'
         75        FETCH_DIM_R                                      ~45     ~44, 'pass'
         76        IS_EQUAL                                                 ~45, ''
         77      > JMPZ                                                     ~46, ->80
  213    78    >   ASSIGN                                                   !0, 1
  214    79        ECHO                                                     'Password+Cannot+Be+Empty%21'
  218    80    >   ECHO                                                     '%3C%2Fdiv%3E%3Cbr%3E%0A%3Cpre%3EVerify+password%3A+++%3C%2Fpre%3E%3Cinput+type%3D%22password%22+class%3D%22t%22+name%3D%22ver%22%3E%0A%3Cdiv+class%3De%3E%0A'
  222    81        FETCH_IS                                         ~48     '_REQUEST'
         82        ISSET_ISEMPTY_DIM_OBJ                         0          ~48, 'stat'
         83      > JMPZ                                                     ~49, ->98
  224    84    >   FETCH_R                      global              ~50     '_REQUEST'
         85        FETCH_DIM_R                                      ~51     ~50, 'ver'
         86        IS_EQUAL                                                 ~51, ''
         87      > JMPZ                                                     ~52, ->90
  226    88    >   ECHO                                                     'Verify+Password+Cannot+Be+Empty%21%3Cbr%3E'
  227    89        ASSIGN                                                   !0, 1
  229    90    >   FETCH_R                      global              ~54     '_REQUEST'
         91        FETCH_DIM_R                                      ~55     ~54, 'ver'
         92        FETCH_R                      global              ~56     '_REQUEST'
         93        FETCH_DIM_R                                      ~57     ~56, 'pass'
         94        IS_NOT_EQUAL                                             ~55, ~57
         95      > JMPZ                                                     ~58, ->98
  231    96    >   ECHO                                                     'Passwords+DO+NOT+match'
  232    97        ASSIGN                                                   !0, 1
  236    98    >   ECHO                                                     '%3C%2Fdiv%3E%3Cbr%3E%3Cbr%3E%0A%3Cinput+type%3D%22submit%22+class%3D%22sbt%22+name%3D%22sb%22+value%3D%22Sumit+%21%22%3E%0A%3Cinput+type%3D%22hidden%22+name%3D%22stat%22+value%3D%22true%22%3E%0A'
  240    99        FETCH_IS                                         ~60     '_REQUEST'
        100        ISSET_ISEMPTY_DIM_OBJ                         0          ~60, 'stat'
        101      > JMPZ                                                     ~61, ->105
  242   102    >   IS_EQUAL                                                 !0, 0
        103      > JMPZ                                                     ~62, ->105
  244   104    >   ECHO                                                     '%3Cbr%3E%3Cbr%3E%3Cbr%3E%3Cdiv+class%3D%22ok%22%3E+All+details+are+correct+%21+%3C%2Fdiv%3E'
  248   105    >   ECHO                                                     '%3C%2Fform%3E%0A%3C%2Ffieldset%3E%0A%3C%2Fcenter%3E%0A%3C%2Fdiv%3E%0A%3C%2Fbody%3E%0A%3C%2Fhtml%3E'
  253   106      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.74 ms | 1407 KiB | 13 Q