Task Description:
Create a modular PHP script that includes multiple files and stores their return values in variables.
The script should contain comments and demonstrate different PHP statements.
You should use include, require, include_once, and require_once.
Specific Requirements:
Create PHP files:
A main file (index.php) that includes the other files.
Two additional files (config.php and functions.php) that are included by the main file.
One file (data.php) that returns a value.
Comments in PHP:
Use comments to document your code.
PHP Statements:
Use different PHP statements such as variable assignments and function calls.
Include and Require:
Use include and require to include the files.
Include_once and Require_once:
Use include_once and require_once to ensure that files are included only once.
Store Return Value in a Variable:
Include data.php and store the returned value in a variable.