Old PHP versions
-
The latest version includes the new [] array syntax, which breaks compatibility of old versions of PHP such as php5.3, which though no longer supported by its original developer is still supported and maintained with security patches by long-term-support releases of RedHat.
Would it be possible to change that array declaration from [] to Array()? I made that change myself to quickly get running, though I know it will get wiped out with the next release.
If not, I would appreciate if you would officially document your minimum PHP version (per https://make.www.ads-software.com/plugins/2017/08/29/minimum-php-version-requirement/ ), which would provide documentation for the need to allocate the time to upgrade to a current release of PHP.
Observed error:
PHP Parse error: syntax error, unexpected ‘[‘ in /unixapps/knitprod/wordpress/wp-content/plugins/bp-mpo-activity-filter/bp-mpo-activity-filter-bp-functions.php on line 24
Thank you!
-Matthew
- The topic ‘Old PHP versions’ is closed to new replies.