PHP7 Compatibility
-
Hi!
I’ve tested all my plugins with this PHP linter:
https://wordpress.org/plugins/php-compatibility-checker/Unfortunately I found some problems with your plugin:
FILE: /wp-content/plugins/megamenu/classes/scssc.inc.php
———————————————————————————————
FOUND 4 ERRORS AFFECTING 4 LINES
———————————————————————————————
3300 | ERROR | ‘string’ is a reserved keyword introduced in PHP version 7.0 and cannot be invoked as a function (T_STRING)
3498 | ERROR | Function name, class name, namespace name or constant name can not be reserved keyword ‘string’ (since version 7.0)
3611 | ERROR | ‘string’ is a reserved keyword introduced in PHP version 7.0 and cannot be invoked as a function (T_STRING)
3855 | ERROR | ‘string’ is a reserved keyword introduced in PHP version 7.0 and cannot be invoked as a function (T_STRING)
———————————————————————————————Would be great if you can fix this!
All the best,
Torsten
The topic ‘PHP7 Compatibility’ is closed to new replies.