I've been exposed to PHP, Java, Perl, C++, VB Python and C# and it's definitely the case so far that PHP seems to be the most haphazardly designed. Although personally, I've never had much of a problem with PHP's ugliness. It's not my least favorite language (that would probably be VB.)