February 2013
Intermediate to advanced
538 pages
20h 55m
English
pathinfo
mixed pathinfo(stringpath[, intoptions])
Returns an associative array containing information about
path. If the
options parameter is given, it specifies a
particular element to be returned. PATHINFO_DIRNAME, PATHINFO_BASENAME, PATHINFO_EXTENSION, and PATHINFO_FILENAME are valid
options values.
The following elements are in the returned array:
| The directory in which
|
| The basename (see
|
| The extension, if any, on the file’s name. Does not include the period at the beginning of the extension. |
Read now
Unlock full access