Dutch PHP Conference 2025 - Call For Papers

restore_include_path

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

restore_include_pathRestores the value of the include_path configuration option

Увага

Ця функція ЗАСТАРІЛА, починаючи з PHP 7.4.0, та ВИЛУЧЕНА в PHP 8.0.0. Вкрай не рекомендується на неї покладатися.

Опис

restore_include_path(): void

Restores the include_path configuration option back to its original master value as set in php.ini

Параметри

У цієї функції немає параметрів.

Значення, що повертаються

Не повертає значень.

Приклади

Приклад #1 restore_include_path() example

<?php

echo get_include_path(); // .:/usr/local/lib/php

set_include_path('/inc');

echo
get_include_path(); // /inc

restore_include_path();

// Or using ini_restore()
ini_restore('include_path');

echo
get_include_path(); // .:/usr/local/lib/php

?>

Прогляньте також

add a note

User Contributed Notes

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