array pathinfo
(string path)
pathinfo() returns an associative array containing information about path. The following array elements are returned: dirname, basename and extension.
Example 1. pathinfo() Example
|
Would produce:
/www/htdocs index.html html |
See also dirname(), basename() and realpath().