PHP Compatibility Index

Is Far Future Expiry Header compatible with PHP 8?

Version 1.6 · 6,000+ active installs

Works on PHP 8.0–8.5, with deprecation notices from 8.1

No removed PHP features found in Far Future Expiry Header 1.6. It uses 6 deprecated feature(s) that only log notices today.

PHP 8.0
✓
PHP 8.1
⚠ 6
PHP 8.2
⚠ 6
PHP 8.3
⚠ 6
PHP 8.4
⚠ 6
PHP 8.5
⚠ 6

✓ no problems · ⚠ deprecation notices only (still works) · ✗ uses something removed in that PHP version

Check your whole site, not just one plugin. The free PHP Upgrade Check plugin scans every plugin and theme you have installed (including premium and custom ones) and explains each problem. It runs on any host.

Deprecated (works today, logs notices)

File:lineWhat
far-future-expiration.php:174INI directive 'auto_detect_line_endings' is deprecated since PHP 8.1
far-future-expiration.php:216INI directive 'auto_detect_line_endings' is deprecated since PHP 8.1
far-future-expiration.php:219The constant "FILTER_SANITIZE_STRING" is deprecated since PHP 8.1
far-future-expiration.php:223The constant "FILTER_SANITIZE_STRING" is deprecated since PHP 8.1
far-future-expiration.php:227The constant "FILTER_SANITIZE_STRING" is deprecated since PHP 8.1
far-future-expiration.php:292INI directive 'auto_detect_line_endings' is deprecated since PHP 8.1

Plugin page on WordPress.org: far-future-expiry-header