restore_include_path

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

restore_include_pathRestaura o valor da opção de configuração include_path

Descrição

restore_include_path ( ) : void

Restaura a opção de configuração include_path de volta para o seu valor principal definido no php.ini

Valor Retornado

Não há valor retornado.

Exemplos

Exemplo #1 Exemplo restore_include_path()

<?php
echo get_include_path();  // .:/usr/local/lib/php
set_include_path('/inc');
echo 
get_include_path();  // /inc
// Funciona a partir do PHP 4.3.0
restore_include_path();
// Funciona em todas as versões do PHP
ini_restore('include_path');
echo 
get_include_path();  // .:/usr/local/lib/phpp
?>

Veja Também

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top