PHP Compatibility Checker 1.5.2

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

Summary

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

Memory usage: 30.17 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 300,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=12c0095013
Aspect after-activation
HTTP status 200
Load time 0.402 s
Memory usage 3.08 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.231 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.315 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.312 s0.262 s-0.050 s3.08 MiB3.11 MiB+ 31.83 KiB
/wp-admin/edit.php0.189 s0.187 s-0.002 s3.11 MiB3.14 MiB+ 31.46 KiB
/wp-admin/post-new.php0.775 s0.941 s+0.166 s5.27 MiB5.3 MiB+ 36.5 KiB
/wp-admin/upload.php0.353 s0.291 s-0.062 s3.03 MiB3.06 MiB+ 30.7 KiB
/wp-admin/options-writing.php0.157 s0.144 s-0.013 s3.02 MiB3.04 MiB+ 14.67 KiB
/wp-admin/media-new.php0.337 s0.190 s-0.147 s3.01 MiB3.04 MiB+ 30.87 KiB
/wp-admin/edit-tags.php?taxonomy=category0.181 s0.187 s+0.006 s3.04 MiB3.07 MiB+ 31.77 KiB
/wp-admin/post-new.php?post_type=page0.608 s0.768 s+0.160 s5.26 MiB5.29 MiB+ 32.09 KiB
/wp-admin/options-discussion.php0.239 s0.256 s+0.017 s3 MiB3.03 MiB+ 31.18 KiB
/wp-admin/edit-comments.php0.211 s0.204 s-0.007 s3.04 MiB3.07 MiB+ 30.68 KiB
/0.293 s0.214 s-0.079 s2.91 MiB2.94 MiB+ 30.16 KiB
Average 0.332 s0.331 s-0.001 s3.43 MiB3.46 MiB+ 30.17 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.5%3,6224422
PHP15.1%6964275
CSS5.1%236111
XML0.8%3812
JSON0.5%2201
Total 4,614 881 11

PHP Code Analysis | More results »

Lines of code 730
Total complexity 104
Median class complexity 52.0
Median method complexity 2.5
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 10 lines

[28-Sep-2021 18:36:35 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
[28-Sep-2021 18:36:35 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
[28-Sep-2021 18:36:35 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
[28-Sep-2021 18:36:35 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
[28-Sep-2021 18:36:35 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
[28-Sep-2021 18:36:35 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
[28-Sep-2021 18:36:35 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
[28-Sep-2021 18:36:35 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
[28-Sep-2021 18:36:35 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
[28-Sep-2021 18:36:35 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
See also: All tests for this plugin, How to Hide the "PHP Compatibility" Admin Menu