Change something using .class.php example: conn.class.php
Whenever I search on appears over class and the programming itself!
Change something using .class.php example: conn.class.php
Whenever I search on appears over class and the programming itself!
Speaking of conventions such as PSR4, you should not put .class.php
as this will influence autoload class via namespace .
Excluding this does not change anything. It does not actually need .php
, it is only used to make it easier for the webserver that that file it should delegate to the PHP interpreter.
Another example is command-line applications that have no extension at all, such as composer
, for example.