get_include_path

(PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8)

get_include_pathObtém a opção de configuração include_path atual

Descrição

get_include_path(): string|false

Obtém a opção de configuração include_path atual.

Parâmetros

Esta função não possui parâmetros.

Valor Retornado

Retorna o caminho, como uma string, ou false em caso de falha.

Exemplos

Exemplo #1 Exemplo de get_include_path()

<?php
echo get_include_path();

// Ou usando ini_get()
echo ini_get('include_path');
?>

Veja Também

To Top