Behaviour of PHP's dirname() function

See WebmasterWorld thread:
http://www.webmasterworld.com/php/3752500.htm

On Windows/Apache PHP always returns the backslash when in the web root. Why?