Fix empty() calls for PHP < 5.5
|Assignee:||José Raddaoui Marín||% Done:|
|Target version:||Release 2.3.0|
|Google Code Legacy ID:||Tested version:|
Prior to PHP 5.5, empty() only supports variables:
#2 Updated by Mike Gale almost 7 years ago
- Assignee changed from Mike Gale to José Raddaoui Marín
Looks good. We have a coding guidelines wiki page somewhere (I lost the URL, haha) that warns against empty() as well, for what it's worth. I know there's a lot of empty() calls anyway throughout AtoM though.
#3 Updated by Dan Gillean almost 7 years ago
New coding standard page in wiki: https://wiki.accesstomemory.org/Development/Coding_standard
Devs, please look at this page and update it as necessary! It's copied over from the old Qubit Toolkit wiki, but it could use a refresh.