Function
pathinfo
Synopsis
pathinfo(string, int ...): mixed
- Area
Runtime\PS\Files\pathinfoareas
Description
pathinfo returns the parts of $path as an array of dirname, basename, extension and filename; a path with no dot carries no extension key, which php leaves out and never empties. It never touches the filesystem and it answers about a path that does not exist.
Usage
$value = pathinfo($arguments);
$fn = pathinfo(...);