From 125ec31bbb75f155df2be9e7cc1df1f440a9a968 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Sat, 6 May 2023 12:33:01 +0300 Subject: [PATCH] file_exists --- ~/PHP/README.md | 1 + ~/PHP/file_exists.php | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 ~/PHP/file_exists.php diff --git a/~/PHP/README.md b/~/PHP/README.md index da2ca63..9a9bc0c 100644 --- a/~/PHP/README.md +++ b/~/PHP/README.md @@ -3,6 +3,7 @@ ## std - [`setlocale`](setlocale.php) - Устанавливает настройки локали - [`gettype`](gettype.php) - Возвращает тип переменной +- [`file_exists`](file_exists.php) - Проверяет существование указанного файла или каталога - [`ksort`](ksort.php) - Сортирует массив по ключу в порядке возрастания - [`array_reverse`](array_reverse.php) - Возвращает массив с элементами в обратном порядке - [`in_array`](in_array.php) - Проверяет, присутствует ли значение в массиве diff --git a/~/PHP/file_exists.php b/~/PHP/file_exists.php new file mode 100644 index 0000000..51939f1 --- /dev/null +++ b/~/PHP/file_exists.php @@ -0,0 +1,27 @@ +