What are the best practices for naming PHP files and classes to avoid inclusion errors?

When naming PHP files and classes, it is important to follow a consistent naming convention to avoid inclusion errors. One common practice is to use the same name for the file and the class it contains, with the file name being in lowercase and the class name starting with an uppercase letter. This helps prevent confusion and ensures that the file can be included correctly.

// File name: myclass.php
class MyClass {
    // Class implementation
}