Homec4science

Add a `phutil_count` function

Authored by Joshua Spence <josh@freelancer.com> on Nov 2 2015, 10:19.

Description

Add a phutil_count function

Summary: This function is a shorthand for new PhutilNumber(count($x)).

Test Plan: See next diff.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D14070

Details

Committed
Joshua Spence <josh@freelancer.com>Nov 2 2015, 11:22
Pushed
aubortMar 17 2017, 12:03
Parents
rPHU7f4daf71c480: Allow XHPAST to be built without flex and bison
Branches
Unknown
Tags
Unknown

Event Timeline

Joshua Spence <josh@freelancer.com> committed rPHU9e4d97fa55a8: Add a `phutil_count` function (authored by Joshua Spence <josh@freelancer.com>).Nov 2 2015, 11:22