Author: Manuel Lemos
Viewers: 163
Last month viewers: 1
Categories: Notable Packages
Array entries can have values of many types. PHP can return the count of entries in an array but if you just want to get the count of elements of a given type, PHP does not provide a direct means to achieve that.
This class not only can count the elements of a given type, but it also can handle nested arrays.
Read this article to learn more details about how this notable PHP package works.
This class not only can count the elements of a given type, but it also can handle nested arrays.
Read this article to learn more details about how this notable PHP package works.

The package PHP Count Array by Value Type is one of the few PHP packages that was considered notable recently because it does something that is worth paying attention.
The basic purpose is: Get the number of values in array of a given type
Here follows in more detail what it does:
This class can get the number of values in array of a given type.
It can traverse a given array and count the number of values like the array_count_values function but it returns only those that have a given type.
The class can also count values of a type in variables objects of classes that act like arrays and implement the Traversable interface.
Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.
If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package.
The basic purpose is: Get the number of values in array of a given type
Here follows in more detail what it does:
This class can get the number of values in array of a given type.
It can traverse a given array and count the number of values like the array_count_values function but it returns only those that have a given type.
The class can also count values of a type in variables objects of classes that act like arrays and implement the Traversable interface.
Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.
If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package.
You need to be a registered user or login to post a comment
Login Immediately with your account on:
Comments:
No comments were submitted yet.