I can write linear Python just as ugly as anything a PHP developer could come up with (probably). And I could write MUCH more destructive C code than anybody in PHP could (probably).
If you mean it's less structured because of Rails or Django, I'd submit that PHP has CodeIgniter, Zend, and a bevy of other frameworks that all seem to be pretty solid to an outsider looking in.