How does PHP handle the execution of included files with HTTP URLs as parameters?

When including files with HTTP URLs as parameters in PHP, it poses a security risk as it allows for remote code execution. To mitigate this risk, it is recommended to use local file paths instead of HTTP URLs when including files in PHP.

// Example of including a file using a local file path
include 'path/to/local/file.php';