get_include_path
(PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8)
get_include_path — 현재 include_path 구성 옵션을 가져옵니다.
설명
get_include_path(): string|false
현재 include_path 구성 옵션 값을 가져옵니다.
매개변수
이 함수에는 매개변수가 없습니다.
반환 값
경로를 문자열로 반환하거나 실패하면 false
를 반환합니다.
Examples
예제 #1 get_include_path() 예제
<?php
echo get_include_path();
// Or using ini_get()
echo ini_get('include_path');
?>
기타
- ini_get() - 구성 옵션의 값을 가져옵니다.
- restore_include_path() - include_path 구성 옵션의 값을 복원합니다.
- set_include_path() - include_path 구성 옵션을 설정합니다.
- include - include