glob
glob — Find pathnames matching a pattern.Description
glob( string $pattern,The glob() function searches for all the pathnames matching pattern according to the rules used by the libc glob() function, which is similar to the rules used by common shells.
int $flags = 0 ): array|false
Parameters
pattern
string
flags
int
Return Values
Returns an array containing the matched files/directories, an empty array if no file matched or false on error.More information about glob on official PHP documentation site
glob - Popular snippets
- PHP 8.0 / MySQL 5.7 glob printf file_get_contents
last run:
2022-01-16 14:57:50
3
- PHP 8.1 / MySQL 5.7 print_r glob printf phpversion
last run:
2022-06-22 06:44:28
2
- PHP 8.0 / MySQL 5.7 glob is_dir printf
last run:
2022-01-16 15:05:29
2
- PHP 8.0 / MySQL 5.7 glob printf
last run:
2022-01-16 14:58:07
2
- PHP 8.0 / MySQL 5.7 glob printf file_get_contents
last run:
2022-01-16 14:52:37
2
- PHP 8.0 / MySQL 5.7 glob printf file_get_contents
last run:
2022-01-16 14:59:15
2
- PHP 8.0 / MySQL 5.7 glob printf file_get_contents
last run:
2022-01-16 14:58:38
2
- PHP 8.1 / MySQL 5.7 var_dump glob
last run:
2023-03-12 23:47:27
1
- PHP 5.6 / MySQL 5.7 glob
last run:
2023-03-09 07:09:32
1
- PHP 8.1 / MySQL 5.7 glob is_array array_map
last run:
2022-12-20 20:36:50
1
glob - New snippets
-
PHP 8.1 / MySQL 5.7 var_dump glob
added at:
2023-03-12 23:47:27
1
-
PHP 5.6 / MySQL 5.7 glob
added at:
2023-03-09 07:09:32
1
-
PHP 8.1 / MySQL 5.7 glob is_array array_map
added at:
2022-12-20 20:36:50
1
-
PHP 8.1 / MySQL 5.7 json_encode glob
added at:
2022-10-08 11:32:32
1
-
PHP 8.1 / MySQL 5.7 print_r glob printf phpversion print_r glob printf phpversion
added at:
2022-06-21 20:26:45
2
-
PHP 8.0 / MySQL 5.7 glob is_dir printf
added at:
2022-01-16 15:05:11
2
-
PHP 8.0 / MySQL 5.7 glob printf
added at:
2022-01-16 14:55:23
2
-
PHP 8.0 / MySQL 5.7 glob printf file_get_contents
added at:
2022-01-16 14:52:57
1
-
PHP 8.0 / MySQL 5.7 glob printf file_get_contents
added at:
2022-01-16 14:51:43
2