This function is a shorthand for new PhutilNumber(count($x)).
Details
Details
- Reviewers
epriestley - Group Reviewers
Blessed Reviewers - Commits
- rPHU9e4d97fa55a8: Add a `phutil_count` function
See next diff.
Diff Detail
Diff Detail
- Repository
- rPHU libphutil
- Branch
- master
- Lint
Lint Passed - Unit
Tests Passed - Build Status
Buildable 8524 Build 9833: Run Core Tests Build 9832: arc lint + arc unit
Event Timeline
Comment Actions
Maybe pht_count()?
Maybe let it take take an integer too?
src/internationalization/pht.php | ||
---|---|---|
26 | Function spelled wrong (phnutil should be phutil). |