Changes between Version 1 and Version 2 of Ticket #23880, comment 61
- Timestamp:
- 12/14/2015 02:07:54 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #23880, comment 61
v1 v2 3 3 So far I released 2 plugins that require PHP >= 5.4 due to the use of short echo tags and namespaces. 4 4 5 Most of the problems reported by users are from trying to run the plugins on PHP < 5.3, which does not have namespace support. I already havelogic to test for PHP < 5.4, but that only works on PHP 5.3, because anything less will error-out on the namespace syntax, which also has to be the first line.5 Most of the problems reported by users are from trying to run the plugins on various PHPs < 5.3, which do not have namespace support. I already have in-plugin logic to test for PHP < 5.4, but that only works on PHP 5.3, because anything less will error-out on the namespace syntax, which also has to be the first line. 6 6 7 7 Work-arounds for that would add a slight performance penalty for each HTTP request to the site, which is just not worth it for the vast majority of users running some more recent PHP. But if WordPress already did this the same way it already checks for compatible WordPress versions when installing themes/plugins there would be no additional performance penalty.