update : 2015.11.03
php.shukuma.com

검색:
 
 
Resolve filename against the include path

stream_resolve_include_path

(PHP 5 >= 5.3.2)

stream_resolve_include_path Resolve filename against the include path

설명

string stream_resolve_include_path ( string $filename )

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

인수

filename

The filename to resolve.

반환값

Returns a string containing the resolved absolute filename, 실패 시 FALSE를 반환합니다.

예제

Example #1 stream_resolve_include_path() example

Basic usage example.

<?php
var_dump
(stream_resolve_include_path("test.php"));
?>

위 예제의 출력 예시:

string(22) "/var/www/html/test.php"