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
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
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). |