Override default php function

dorismeerkat

New Member
I have script wherein \[code\]basename()\[/code\] 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 \[code\]basename()\[/code\] 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 \[code\]PECL\[/code\] any other alternative?
 
Back
Top