PHP Classes
PHP Classes
elePHPant
Icontem

Notable PHP package: Array Map

Recommend this page to a friend!
  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog Notable PHP package: ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  

Author:

Updated on: 2018-09-10

Posted on:

Categories: Notable Packages

PHP provides a function for recreating an array from another array by calling a function that will change the original values of the array entries.

This class provides a more advanced array mapping functionality by allowing to have two different functions that will be called on nested arrays with two depth levels.

This makes it possible to implement different types of array value mapping depending on the level of depth of the values of each entry.

Read this article to learn more details about how this notable PHP package works.


 



The package Array Map 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 to call functions for each entry

Here follows in more detail what it does:

This class can traverse arrays to call functions for each entry.

It takes an array for each entry it calls a given function and then for each entry it calls another function to map the respective values.

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:

FacebookGmail
HotmailStackOverflow
GitHubYahoo


Comments:

No comments were submitted yet.



  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog Notable PHP package: ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)