Five Cool PHP Array Functions

Time and time again, I come across code that contains a variety of array-handling functions that too often duplicate the work that the PHP core team has done to develop built-in array functions. Since the built-in functions are inherently faster, trying to reimplement them in PHP will inevitably be a performance problem.

Here are five of my favorite array functions, along with their signatures and what they do.
(more…)

Wednesday, October 21st, 2009 @ 1:00 am | Comment (22) | Categories: Best Practices, General PHP, Technology
Tags: , ,


Copyright © 2022 by Brandon Savage. All rights reserved.