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
Unknown Object (File)
Wed, Apr 16, 17:17
Unknown Object (File)
Wed, Apr 16, 16:02
Unknown Object (File)
Wed, Apr 16, 16:01
Unknown Object (File)
Wed, Apr 16, 12:57
Unknown Object (File)
Tue, Apr 15, 14:39
Unknown Object (File)
Fri, Apr 11, 19:55
Unknown Object (File)
Tue, Mar 25, 06:19
Unknown Object (File)
Mar 18 2025, 15:45
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 Passed
Unit
Tests Passed
Branch
php73
Build Status
Buildable 2600
Build 2848: arc lint + arc unit

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.