PHP Compatibility Checker 1.5.0

Does PHP Compatibility Checker work with WordPress 5.8.1 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
2PHP warnings
10PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 25.16 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version5.8.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 200,000+
WordPress.org page https://wordpress.org/plugins/php-compatibility-checker/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=php-compatibility-checker%2Fwpengine-phpcompat.php&plugin_status=all&paged=1&s&_wpnonce=1421379a06
Aspect after-activation
HTTP status 200
Load time 0.466 s
Memory usage 3.07 MiB
JS errors None
Resource errors None

Tools → PHP Compatibility

Page screenshot: Tools → PHP Compatibility
URL /wp-admin/tools.php?page=php-compatibility-checker
Aspect menu-item
HTTP status 200
Load time 0.260 s
Memory usage 3.03 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.330 s
Memory usage 2.94 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.340 s0.292 s-0.048 s3.08 MiB3.11 MiB+ 31.08 KiB
/wp-admin/edit.php0.296 s0.248 s-0.048 s3.11 MiB3.14 MiB+ 31.08 KiB
/wp-admin/post-new.php1.040 s1.284 s+0.244 s5.27 MiB5.3 MiB+ 35.75 KiB
/wp-admin/upload.php0.628 s0.352 s-0.276 s3.03 MiB3.06 MiB+ 29.95 KiB
/wp-admin/options-writing.php0.192 s0.146 s-0.046 s3.02 MiB3.04 MiB+ 13.92 KiB
/wp-admin/media-new.php0.296 s0.201 s-0.095 s3.01 MiB3.04 MiB+ 30.12 KiB
/wp-admin/edit-tags.php?taxonomy=category0.215 s0.188 s-0.027 s3.04 MiB3.07 MiB+ 31.02 KiB
/wp-admin/post-new.php?post_type=page1.019 s1.115 s+0.096 s5.26 MiB5.29 MiB+ 31.34 KiB
/wp-admin/options-discussion.php0.263 s0.332 s+0.069 s3 MiB3.03 MiB+ 30.43 KiB
/wp-admin/edit-comments.php0.235 s0.290 s+0.055 s3.04 MiB3.07 MiB+ 29.93 KiB
/0.306 s0.268 s-0.038 s2.96 MiB2.94 MiB- 17.89 KiB
Average 0.439 s0.429 s-0.010 s3.44 MiB3.46 MiB+ 25.16 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

JavaScript
PHP
Language % Lines of code Comment lines Files
JavaScript78.3%3,6224422
PHP15.3%7064235
CSS5.1%236111
XML0.8%3812
JSON0.5%2201
Total 4,624 877 11

PHP Code Analysis | More results »

Lines of code 748
Total complexity 109
Median class complexity 49.0
Median method complexity 3.0
Most complex class WPEPHPCompat
Most complex function WPEngine_PHPCompat::settings_page()
Classes 3
Methods 26
Functions 1

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Custom Post Types 1

ID Name
wpephpcompat_jobsJobs

PHP Error Log 12 lines

[09-Sep-2021 05:14:24 UTC] PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /wp-content/plugins/php-compatibility-checker/vendor/squizlabs/php_codesniffer/CodeSniffer/CLI.php on line 453
[09-Sep-2021 05:14:24 UTC] PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /wp-content/plugins/php-compatibility-checker/vendor/squizlabs/php_codesniffer/CodeSniffer/CLI.php on line 459
[09-Sep-2021 05:14:24 UTC] PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /wp-content/plugins/php-compatibility-checker/vendor/squizlabs/php_codesniffer/CodeSniffer/CLI.php on line 739
[09-Sep-2021 05:14:24 UTC] PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /wp-content/plugins/php-compatibility-checker/vendor/squizlabs/php_codesniffer/CodeSniffer/CLI.php on line 780
[09-Sep-2021 05:14:24 UTC] PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /wp-content/plugins/php-compatibility-checker/vendor/squizlabs/php_codesniffer/CodeSniffer/CLI.php on line 874
[09-Sep-2021 05:14:24 UTC] PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /wp-content/plugins/php-compatibility-checker/vendor/squizlabs/php_codesniffer/CodeSniffer.php on line 2028
[09-Sep-2021 05:14:24 UTC] PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /wp-content/plugins/php-compatibility-checker/vendor/squizlabs/php_codesniffer/CodeSniffer.php on line 2033
[09-Sep-2021 05:14:24 UTC] PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /wp-content/plugins/php-compatibility-checker/vendor/squizlabs/php_codesniffer/CodeSniffer.php on line 2033
[09-Sep-2021 05:14:24 UTC] PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /wp-content/plugins/php-compatibility-checker/vendor/squizlabs/php_codesniffer/CodeSniffer.php on line 2079
[09-Sep-2021 05:14:24 UTC] PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /wp-content/plugins/php-compatibility-checker/vendor/squizlabs/php_codesniffer/CodeSniffer.php on line 2079
[09-Sep-2021 05:14:24 UTC] PHP Warning:  "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /wp-content/plugins/php-compatibility-checker/vendor/squizlabs/php_codesniffer/CodeSniffer/File.php on line 1766
[09-Sep-2021 05:14:24 UTC] PHP Warning:  "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /wp-content/plugins/php-compatibility-checker/vendor/squizlabs/php_codesniffer/CodeSniffer/File.php on line 2883
See also: All tests for this plugin, How to Hide the "PHP Compatibility" Admin Menu