get_include_path

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

get_include_pathLee el valor de la directiva de configuración include_path

Descripción

get_include_path(): string|false

Lee el valor de la directiva de configuración include_path.

Parámetros

Esta función no tiene parámetros.

Valores devueltos

Devuelve la ruta, en forma de chaîne de caractères, o false en caso de error.

Ejemplos

Ejemplo #1 Ejemplo con get_include_path()

<?php
echo get_include_path();

// O utilizar ini_get()
echo ini_get('include_path');
?>

Ver también