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
F11656631: D1655.diff
Sat, Sep 6, 18:12
Unknown Object (File)
Mon, Sep 1, 14:13
Unknown Object (File)
Sat, Aug 30, 05:14
Unknown Object (File)
Wed, Aug 27, 16:55
Unknown Object (File)
Tue, Aug 26, 22:06
Unknown Object (File)
Tue, Aug 26, 20:19
Unknown Object (File)
Tue, Aug 26, 20:08
Unknown Object (File)
Tue, Aug 26, 08:57
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.