Given an array of $a = array("Hello","World") and $a[0] holds Hello and $a[0][0] holds value H, is it correct to say that $a is a "Multidimensional String Array"?
Given an array of $a = array("Hello","World") and $a[0] holds Hello and $a[0][0] holds
Share
No,
$ais a 1-dimensional array. Period.Although strings can be accessed/modified by character using index notation, and are implemented internally as character sequences, PHP strings are not true PHP arrays.