STREAM_RESOLVE_INCLUDE_PATH(3) 1 STREAM_RESOLVE_INCLUDE_PATH(3)
stream_resolve_include_path - Resolve filename against the include path
SYNOPSIS
string stream_resolve_include_path (string $filename)
DESCRIPTION
Resolve $filename against the include path according to the same rules as fopen(3)/include(3).
PARAMETERS
o $filename
- The filename to resolve.
RETURN VALUES
Returns a string containing the resolved absolute filename, or FALSE on failure.
EXAMPLES
Example #1
stream_resolve_include_path(3) example
Basic usage example.
<?php
var_dump(stream_resolve_include_path("test.php"));
?>
The above example will output something similar to:
string(22) "/var/www/html/test.php"
PHP Documentation Group STREAM_RESOLVE_INCLUDE_PATH(3)