diff options
author | rxu <rxu@mail.ru> | 2017-01-09 00:23:08 +0700 |
---|---|---|
committer | rxu <rxu@mail.ru> | 2017-07-17 16:56:54 +0700 |
commit | 055a5f80400b5e1df63f5f123053574843aff233 (patch) | |
tree | b744f034015a6f0b8795f6c2340ca56b1098fb40 /tests/content_visibility/set_topic_visibility_test.php | |
parent | [ticket/14972] Bump PHP requirements to 5.6. Update dependencies. (diff) | |
download | phpbb-055a5f80400b5e1df63f5f123053574843aff233.tar.gz phpbb-055a5f80400b5e1df63f5f123053574843aff233.tar.bz2 phpbb-055a5f80400b5e1df63f5f123053574843aff233.zip |
[ticket/14972] Fix sizeof calls
As of PHP 7.2, only arrays and objects implementing the Countable interface
should be passed as a count() or sizeof() parameter.
See https://github.com/php/php-src/blob/php-7.2.0alpha2/UPGRADING#L197-L198
Also, sizeof() seems to be sheduled for deprecation, see
https://wiki.php.net/rfc/deprecations_php_7_2#suggested_deprecations
PHPBB3-14972
Diffstat (limited to 'tests/content_visibility/set_topic_visibility_test.php')
0 files changed, 0 insertions, 0 deletions