Initializing an array in PHP
Initialing an array in PHP can be done by two different ways.
First one is to use keyword array, and second one is to use square brackets.
Using square brackets to indicate that it is an array is available from PHP 5.4
Initialing an array in PHP can be done by two different ways.
First one is to use keyword array, and second one is to use square brackets.
Using square brackets to indicate that it is an array is available from PHP 5.4
Comments
Post a Comment