HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

get_include_path

Description

The get_include_path of Options / Information for PHP gets the current include_path configuration option.

Syntax

get_include_path(): string|false

Return

Returns the path, as a string, or false on failure.

Examples

1

<?

$return = get_include_path();

echo $return;
.:/opt/alt/php83/usr/share/pear:/opt/alt/php83/usr/share/php:/usr/share/pear:/usr/share/php

2

<?

$option = 'include_path';

$return = ini_get($option);

echo $return;
.:/opt/alt/php83/usr/share/pear:/opt/alt/php83/usr/share/php:/usr/share/pear:/usr/share/php