Title: is_server_error
Published: April 25, 2014
Last modified: February 24, 2026

---

# is_server_error( $sc )

[ Back to top](https://developer.wordpress.org/reference/functions/is_server_error/?output_format=md#wp--skip-link--target)

## Source

    ```php
    function is_server_error ($sc) {
    	return $sc >= 500 && $sc < 600;
    }
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-includes/rss.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/6.9.4/src/wp-includes/rss.php#L714)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/rss.php#L714-L716)

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Ffunctions%2Fis_server_error%2F)
before being able to contribute a note or feedback.