PHP_Compat
[ class tree: PHP_Compat ] [ index: PHP_Compat ] [ all elements ]
Packages:
PHP_Compat


Classes:
PHP_Compat
Files:
acosh.php
array_change_key_case.php
array_chunk.php
array_combine.php
array_diff_assoc.php
array_diff_key.php
array_diff_uassoc.php
array_diff_ukey.php
array_fill.php
array_intersect_assoc.php
array_intersect_key.php
array_intersect_uassoc.php
array_intersect_ukey.php
array_key_exists.php
array_product.php
array_search.php
array_slice.php
array_udiff.php
array_udiff_assoc.php
array_udiff_uassoc.php
array_uintersect.php
array_uintersect_assoc.php
array_uintersect_uassoc.php
array_walk_recursive.php
asinh.php
atanh.php
bcinvert.php
bcpowmod.php
call_user_func_array.php
clone.php
Compat.php
Components.php
constant.php
convert_uudecode.php
convert_uuencode.php
cosh.php
DATE.php
debug_print_backtrace.php
DIRECTORY_SEPARATOR.php
E_STRICT.php
FILE.php
file_get_contents.php
file_put_contents.php
floatval.php
fprintf.php
fputcsv.php
getopt.php
get_headers.php
get_include_path.php
glob.php
htmlspecialchars.php
htmlspecialchars_decode.php
html_entity_decode.php
http_build_query.php
ibase_timefmt.php
idate.php
image_type_to_mime_type.php
inet_ntop.php
inet_pton.php
ini_get_all.php
is_a.php
is_callable.php
is_scalar.php
magic_quotes_gpc_off.php
magic_quotes_gpc_on.php
magic_quotes_sybase_off.php
magic_quotes_sybase_on.php
md5_file.php
mhash.php
microtime.php
mime_content_type.php
mkdir.php
ob_clean.php
ob_flush.php
ob_get_clean.php
ob_get_flush.php
PATH_SEPARATOR.php
pg_affected_rows.php
pg_escape_bytea.php
pg_unescape_bytea.php
PHP_EOL.php
php_ini_loaded_file.php
php_strip_whitespace.php
property_exists.php
range.php
register_argc_argv_off.php
register_globals_off.php
register_globals_on.php
register_long_arrays_off.php
register_long_arrays_on.php
restore_include_path.php
scandir.php
setcookie.php
setrawcookie.php
set_include_path.php
sinh.php
STD.php
stripos.php
strpbrk.php
strripos.php
str_ireplace.php
str_rot13.php
str_shuffle.php
str_split.php
str_word_count.php
substr_compare.php
sys_get_temp_dir.php
T.php
tanh.php
time_sleep_until.php
UPLOAD_ERR.php
var_export.php
version_compare.php
vprintf.php
vsprintf.php
_magic_quotes_inputs.php

File: glob.php

Source Location: /PHP_Compat-1.6.0a2/Compat/Function/glob.php

Classes:

Page Details:


GLOB_BRACE [line 21]

GLOB_BRACE = 1024

[ Top ]



GLOB_ERR [line 6]

GLOB_ERR = 1

[ Top ]



GLOB_MARK [line 9]

GLOB_MARK = 2

[ Top ]



GLOB_NOCHECK [line 15]

GLOB_NOCHECK = 16

[ Top ]



GLOB_NOESCAPE [line 18]

GLOB_NOESCAPE = 64

[ Top ]



GLOB_NOSORT [line 12]

GLOB_NOSORT = 4

[ Top ]



GLOB_ONLYDIR [line 24]

GLOB_ONLYDIR = 8192

[ Top ]



glob [line 364]

void glob( $pattern, [ $flags = 0])



Parameters

$pattern
$flags
[ Top ]



php_compat_glob [line 40]

void php_compat_glob( $pattern, [ $flags = 0])

Replace glob()
  • Author: Arpad Ray <arpad@php.net>
  • Version: $Revision: 1.7 $
  • Copyright: 2004-2007 Aidan Lister <aidan@php.net>, Arpad Ray <arpad@php.net>
  • Link: http://php.net/glob
  • Since: PHP 4.3.0
  • License: LGPL


Parameters

$pattern
$flags
[ Top ]



php_compat_glob_brace_helper [line 264]

string php_compat_glob_brace_helper( string $brace, int $flags)

Converts glob braces
  • Return: a PCRE subpattern of alternatives


Parameters

string $brace the contents of the braces to convert
int $flags the flags passed to glob()
[ Top ]



php_compat_glob_brace_nosort_helper [line 350]

void php_compat_glob_brace_nosort_helper( $a, $b)

Callback sort function for (GLOB_BRACE | GLOB_NOSORT)

Receives the same arguments php_compat_glob_brace_sort_helper()



Parameters

$a
$b
[ Top ]



php_compat_glob_brace_sort_helper [line 337]

void php_compat_glob_brace_sort_helper( $a, $b)

Callback sort function for GLOB_BRACE

Each argument should be an array where the first element is the file path, and the second is its rank. The rank is the number of alternatives between this match and the beginning of the brace.



Parameters

$a
$b
[ Top ]



php_compat_glob_charclass_helper [line 283]

string php_compat_glob_charclass_helper( string $class, int $flags)

Converts glob character classes
  • Return: a PCRE character class


Parameters

string $class the contents of the class to convert
int $flags the flags passed to glob()
[ Top ]



php_compat_glob_convert_helper [line 201]

string php_compat_glob_convert_helper( string $input, int $flags)

Converts a section of a glob pattern to a PCRE pattern
  • Return: the escaped input


Parameters

string $input the pattern to convert
int $flags the flags passed to glob()
[ Top ]



php_compat_glob_nosort_helper [line 302]

void php_compat_glob_nosort_helper( $a, $b)

Callback sort function for GLOB_NOSORT

Sorts first by the base name, then in reverse by the extension



Parameters

$a
$b
[ Top ]



php_compat_glob_scan_helper [line 145]

mixed php_compat_glob_scan_helper( string $path, int $flags, [bool $recurse = false])

Scans a path
  • Return: an array of files in the given path where the key is the path, and the value is 1 if the file is a directory, 0 if it isn't. Returns false on unrecoverable errors, or all errors when GLOB_ERR is on.


Parameters

string $path the path to scan
int $flags the flags passed to glob()
bool $recurse true to scan recursively
[ Top ]



Documentation generated on 2019年3月11日 15:26:35 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.

AltStyle によって変換されたページ (->オリジナル) /