Page MenuHomeDevCentral

Use PHP 7.3 is_countable function when present
ClosedPublic

Authored by dereckson on Aug 31 2018, 11:58.
Tags
None
Referenced Files
F44792223: D1655.id4229.diff
Tue, Aug 18, 18:15
F44743852: D1655.id4228.diff
Tue, Aug 18, 13:14
Unknown Object (File)
Mon, Aug 17, 12:41
Unknown Object (File)
Sun, Aug 16, 10:59
Unknown Object (File)
Sun, Aug 16, 10:08
Unknown Object (File)
Wed, Jul 29, 02:51
Unknown Object (File)
Jul 19 2026, 19:55
Unknown Object (File)
Jul 18 2026, 07:12
Subscribers
None

Details

Summary

The code still keeps a custom implementation to maintain PHP 7.2 compatibility.

Reference: https://wiki.php.net/rfc/is-countable

Diff Detail

Repository
rKOT Keruald OmniTools
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.
This revision is now accepted and ready to land.Aug 31 2018, 12:02
This revision was automatically updated to reflect the committed changes.