basename
spatie/fork
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Returns trailing name component of path
<?php basename
(
string $path
,
string $suffix
=
""
):
string