Because php self points to itself.
So if you have hmm, say 4 pages that all php includes a search.php for example.
And you want to display results in same page, use a <?php echo $_SERVER["PHP_SELF"];?>
Otherwise you will have to change it for each 4 pages and have a search.php for each page.
search.php
<?php echo $_SERVER["PHP_SELF"];?>
end search.php
<?php echo $_SERVER["PHP_SELF"];?> == search.php