improved PHP code style bugid 111534