© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2024
A. VasilevPHP by Examplehttps://doi.org/10.1007/979-8-8688-0258-4_4

4. Arrays

Alex Vasilev1  
(1)
Department of Software Systems and Technologies, Taras Shevchenko National University of Kyiv, Kyiv, Ukraine
 

—This is such a toy—puzzles.

—She’s broken!

—That’s the point, Alf. You have to collect it.

—What’s that? I didn’t break it!

ALF (TV series)

An array is generally a set or group of values united by a common name. Arrays are usually used when there are many values, and creating a separate variable for each is impossible. If so, a common name is used for the entire set of values, and specific values (array elements) are identified using an index or indexes. In ...

Get PHP by Example: A Practical Guide to Creating Web Applications with PHP now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.