Hello,
I have script wherein basename()
is used 100-1000s of time, I was just thinking if we can override the function rather than changing the function name to something else in all scripts.
The problem with basename()
is that it doesnt works well with names of files in foreign languages. I found one on php site http://php.net/manual/en/function.override-function.php but it needs PECL
any other alternative?