basename() - Returns trailing name component of path basename(string $path, string $suffix = ""): string e.g. basename('www.example.com/test/wanted') => 'wanted'