Home > PHP > Function > Streams > stream_resolve_include_path()

stream_resolve_include_path()

stream_resolve_include_path - Resolve filename against the include path

Syntax

string stream_resolve_include_path (string $filename, resource $context)

Arguments

  • filename - The filename to resolve.
  • context - A valid context resource created with stream_context_create().

Description

Resolve filename against the include path according to the same rules as fopen() / include() does.

Version

PHP 5.3.2

Return value

On success, the resolved absolute filename is returned. On failure, FALSE is returned.