PHP 7 Compatibility
-
Hello,
I recently ran a PHP compatibility test (via the “PHP Compatibility Checker plugin”) on my plugins and found that Postman has some errors with PHP 7. In case it is of interest to you, here is what the error log outputted:
FILE: /home/dq/public_html/wp-app/wp-content/plugins/postman-smtp/Postman/Postman-Mail/Zend-1.12.10/Validate/NotEmpty.php
———————————————————————————————————————————-
FOUND 4 ERRORS AFFECTING 4 LINES
———————————————————————————————————————————-
37 | ERROR | Function name, class name, namespace name or constant name can not be reserved keyword ‘FLOAT’ (since version 7.0)
38 | ERROR | Function name, class name, namespace name or constant name can not be reserved keyword ‘STRING’ (since version 7.0)
41 | ERROR | Function name, class name, namespace name or constant name can not be reserved keyword ‘NULL’ (since version 7.0)
44 | ERROR | Function name, class name, namespace name or constant name can not be reserved keyword ‘OBJECT’ (since version 7.0)
———————————————————————————————————————————-FILE: /home/dq/public_html/wp-app/wp-content/plugins/postman-smtp/Postman/Postman-Connectivity-Test/registered-domain-libs-master/generateEffectiveTLDs.php
———————————————————————————————————————————————————–
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
———————————————————————————————————————————————————–
153 | WARNING | The use of function split is discouraged from PHP version 5.3; use preg_split instead
179 | WARNING | The use of function split is discouraged from PHP version 5.3; use preg_split instead
———————————————————————————————————————————————————–
- The topic ‘PHP 7 Compatibility’ is closed to new replies.