2079 11

CSC329 ยท 2079 ยท 5 marks

How can you define array in PHP? Write a PHP function to create an array of type integer and print its elements.

How can you define array in PHP? Write a PHP function to create an array of type integer and print its elements. [5]

Web TechnologyChapter 6: Server Side Scripting using PHPArray

An array is a data structure that stores multiple values in a single variable. In PHP, an array can hold values of different data types (string, integer, float, etc.) under one variable name, and each element is accessed using an index (starting from 0). Syntax: Or using the short syntax (PHP 5.4...