Home > Article > Backend Development > 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!