Skip to content
Snippets Groups Projects
Commit f393a4eb authored by Andreas Gohr's avatar Andreas Gohr
Browse files

added utf8_basename()

This is a locale independent version of basename to work around
https://bugs.php.net/bug.php?id=37738

The function is not yet used anywhere. It should be at least used
where ever non-ASCII filenames and paths are handled. Simply replacing
all calls to basename() with this function might be the safest.
parent e5ab313f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment