October 20, 2018
Hot Topics:

Top 10 Associative Array Tips for PHP

  • December 13, 2010
  • By Glen Kunene
  • Send Email »
  • More Articles »

Like any other programming language, PHP supports associative arrays -- an indispensable data type for describing a collection of unique keys and associated values. In his PHPBuilder article 10 PHP Tricks for Associative Array Manipulation, Jason Gilmore writes:

Associative arrays are so central to the task of Web development that PHP supports dozens of functions and other features capable of manipulating array data in every conceivable manner.

With such extensive support, trying to figure out the most effective way to manipulate arrays within PHP applications can be overwhelming. Gilmore's article offers 10 tips that can help PHP developers slice and dice their data in countless ways, including adding and removing array elements and merging arrays.


Read all 10 tips at PHPBuilder:
10 PHP Tricks for Associative Array Manipulation

Originally published on https://www.developer.com.

Comment and Contribute


(Maximum characters: 1200). You have characters left.



Enterprise Development Update

Don't miss an article. Subscribe to our newsletter below.

By submitting your information, you agree that developer.com may send you developer offers via email, phone and text message, as well as email offers about other products and services that developer believes may be of interest to you. developer will process your information in accordance with the Quinstreet Privacy Policy.


Thanks for your registration, follow us on our social networks to keep up-to-date