Fixed bug #54397 Several issues with in http://news.php.net

Patch by lekensteyn at gmail dot co