Blog

Home / blog

Notable PHP package: Array Depth

Arrays are a very popular data type in PHP because they make it easy to associate key names or numbers with the respective values.

They also allow to nest information by storing arrays as key values.

This package can inspect nested arrays and perform several types useful operations like checking if all the stored values is of the same type, compute an unique value from all the array values that can be used as a signature of the array, determine if the array can be used as a table with rows and columns.


The package Array  Depth 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: Traverse arrays in depth to perform useful actions

Here follows in more detail what it does:

This class can traverse arrays in depth to perform useful actions. Currently it can:

- Determine the depth of a nested array 
- Retrieve all data types used in an array 
- Determine whether or not an array is homogeneous 
- Compute the signature of an array 
- Determine whether or not an array is suitable for the process of selection of rows and columns

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.

Courtesy: https://www.phpclasses.org/blog/post/671-Notable-PHP-package-Array-Depth.html

Recent Posts

image
Udupi

Bhaktha Towers, Kalsanka, Udupi, Karnataka 576101

+91 9916867888
0820 2529333

sales@chipsyservices.com

image
Bangalore

B2 402, Poetree,12th Cross Road, Sarjapur Road, Bangalore 560035

+91 9916867888
0820 2529333

sales@chipsyservices.com

image
Mumbai

Office No.302, Mayuresh Chambers, Sector11, CBD Belapur, Navi Mumbai, Maharashtra 400614

+91 9916867888

sales@chipsyservices.com

image
US

203 Jerryanne Ct, Apex NC 27523
USA

+1 (505) 336-3727
+1 (919) 862-6050

sales@chipsyservices.com