Home > Backend Development > PHP Problem > Should the php class file name be added with the .class suffix?

Should the php class file name be added with the .class suffix?

Guanhui
Release: 2023-02-28 21:20:01
Original
2868 people have browsed it

Should the php class file name be added with the .class suffix?

Should the php class file name be added with the .class suffix

There is no standard for this, it is just a framework on the market for the convenience of management. You can add it or not according to your personal situation. As for the standard, there is no such stipulation. The reason why some frameworks have ".class" is a format to facilitate system definition.

Benefits of adding .class suffix

Adding .class can indicate that the file is a class file, which facilitates project management.

In team development, adding .class is a good norm and can facilitate cooperation and management.

The above is the detailed content of Should the php class file name be added with the .class suffix?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template