Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

basename()

3 tags 1 category

basename() — Returns trailing name component of path.

basename() — Given a string containing the path to a file or directory, this function will return the trailing name component.

Inputs: path: A path. On Windows, both slash (/) and backslash () are used as directory separator character. In other environments, it is the forward slash (/). suffix: If the name component ends in suffix this will also be cut off.

Returns: Returns the base name of the given path.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…