Basename in php

By | January 31, 2014

This function will return the trailing name component of path

Syntax
——

string basename( string $path[, string $suffix])

example
——–

output as below

1) mydoubts
2) hello
3) vasanthan
4) .
5)