src/HTTP/Request2/Response.php
public static function getDefaultReasonPhrase($code = null)
    {
        if (null === $code) {
            return self::$phrases;
        } else {
            return isset(self::$phrases[$code]) ? self::$phrases[$code] : null;
        }
    }
public static function getDefaultReasonPhrase($code = null)
    {
        if (null === $code) {
            return self::$phrases;
        } else {
            return isset(self::$phrases[$code]) ? self::$phrases[$code] : null;
        }
    }
Returns the default reason phrase for the given code or all reason phrases

@param int $code Response code

@return string|array|null Default reason phrase for $code if $code is given
(null if no phrase is available), array of all
reason phrases if $code is null
@link   http://pear.php.net/bugs/18716