Indentation of the closing brace and parameters on a new line is wrong when using PEAR mode.
function ($alongname,
____$b
) {
____//content
}
should be aligned exactly that way [1].
php-mode indents it the following way:
function ($a, $b,
________$c
________)