In what situations would it be appropriate to use the "include_path" parameter with the "require_once" function in PHP?

When you want to include a file in PHP using the `require_once` function, you can specify the include path using the `include_path` parameter. This is useful when you want to include files from directories other than the current working directory or the directory of the script being executed.

<?php
// Set the include path to include files from a specific directory
set_include_path(get_include_path() . PATH_SEPARATOR . '/path/to/directory');

// Include a file using the require_once function with the specified include path
require_once 'file.php';
?>