| PHP-manual | ||
|---|---|---|
| Föregående | Nästa | |
pathinfo() returns an associative array containing information about path. The following array elements are returned: dirname, basename and extension.
You can specify which elements are returned with optional parameter options. It composes from PATHINFO_DIRNAME, PATHINFO_BASENAME and PATHINFO_EXTENSION. It defaults to return all elements.
Not: For information on retrieving the current path info, read the section on predefined reserved variables.
See also dirname(), basename(), parse_url() and realpath().
| Föregående | Hem | Nästa |
| parse_ini_file | Upp | pclose |