Method basename()


Method basename

string basename(string path)

Description

Returns the last segment of a path.

See also

dirname(), explode_path()