|
basenameReturns trailing name component of path Description
string basename
( string
$path
[, string $suffix
] )Given a string containing the path to a file or directory, this function will return the trailing name component. Parameters
Return Values
Returns the base name of the given Changelog
Examples
Example #1 basename example
<?php The above example will output: 1) sudoers 2) passwd 3) etc 4) . 5) Notes
See Also
|