What best practices can be followed to ensure seamless access to variables in included PHP files?

When including PHP files in your code, it's important to ensure seamless access to variables across files. One way to achieve this is by using the `global` keyword to declare variables as global within the included file. This allows the variables to be accessed and modified from any other file where they are included.

// main_file.php
$variable = "Hello";

// included_file.php
global $variable;
echo $variable; // Output: Hello