What best practice should be followed when including files in PHP to avoid errors like "No such file or directory"?
When including files in PHP, it is best practice to use the `__DIR__` constant to specify the full path of the file to be included. This helps avoid errors like "No such file or directory" by providing the correct path regardless of the current working directory.
include __DIR__ . '/path/to/file.php';