ALIAS

base()

ShortPHP reference for basename().

Signature

basename(string $path, string $suffix = ""): string

Example

base(...);

PHP equivalent

basename() is the canonical PHP function. ShortPHP provides base() as the convenience alias.

Extension: Core

Official PHP manual ↗

Reference navigation

Previous: b64e()

Next: cnt()

Back to reference