.php is added only for completeness of the documentation. The entire feature is optional, as the code internally handles .php correctly.