get_include_path

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

get_include_pathLit la valeur de la directive de configuration include_path

Description

get_include_path ( void ) : string

Lit la valeur de la directive de configuration include_path.

Valeurs de retour

Retourne le chemin, sous la forme d'une chaîne de caractères.

Exemples

Exemple #1 Exemple avec get_include_path()

<?php
echo get_include_path();

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

Voir aussi