How can file paths be correctly specified in PHP include statements?

When specifying file paths in PHP include statements, it's important to use the correct file path format for the operating system being used. For example, on Windows, file paths should be specified using backslashes (\), while on Unix-based systems like Linux or macOS, file paths should be specified using forward slashes (/). Additionally, using the PHP magic constant `__DIR__` can help create platform-independent file paths.

// Correctly specifying file paths using __DIR__ for platform independence
include __DIR__ . '/path/to/file.php';