Arrays

Summary of main concepts until now

Operations on the entire array using the foreach construct.

Operations on individual array elements using their index, which is indicated in [].

Usage of the $ or @ prefixes, depending on the variable content (one or many element(s)).


Table of Contents.
Previous | Next.