Possible duplicate:
Why do some scripts omit the closing php tag? > '?
I read some articles on how to omit PHP closing tags, as they say it's good PHP programming practice if your .php file does not contain any other things. There are many such questions, but after I tried what they have done so far, it worked well on my machine. Maybe this is a problem or something else?
But I donβt quite understand why this can be a good programming practice, since it brings space or something like that, but I tried it and worked very well.
Master.php
<?php echo "Master.php"; include "Slave.php"; header("Location:Slave.php"); ?>
Slave.php
<?php echo "Slave.php"; ?>
I really don't quite understand what the problem should be if I didn't use the closing php tag.
Thanks.
source share