24
Sep/090
Sep/090
The strange behaviour of php function basename()
On my local Windows machine with PHP5 the value of basename(’названиe.php’) is “названиe”, where “названиe” is any cyrillic string.
However, on my remote Unix server the same function with the same argument returns null.
Not only could I find no explanation – there isn’t even any mention of it anywhere on the Internet.
