Get the current include_path configuration option in PHP

Description

The following code shows how to get the current include_path configuration option.

Example


//from  www.j a  v a2 s  . c om
<?php
// Works as of PHP 4.3.0
echo get_include_path();

// Works in all PHP versions
echo ini_get('include_path');
?>

The code above generates the following result.





















Home »
  PHP Tutorial »
    Development »




Environment
Error
Hash
Include
Locale
Math
Network
Output
Reflection
PHP Regular Expressions