Tag Archives: trailig string find using php

Basename in php

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)