What are some common methods for determining the absolute path for includes in PHP?

When including files in PHP, it is important to use the absolute path to ensure that the correct file is included regardless of the current working directory. One common method for determining the absolute path is to use the `__DIR__` magic constant, which represents the directory of the current file. By concatenating `__DIR__` with the relative path to the included file, you can create a reliable absolute path.

include __DIR__ . '/path/to/file.php';