What does it mean the [] ?
Ex:
$s[0]
$s[$i]
Where can I get a list for this group (like the group of Logical operators, etc).
Thanks
[]
Moderator: General Moderators
Re: []
It is the array index. In your example, $s is an array. The first element in the array is $s[0], etc. See the documentation: http://www.w3schools.com/php/php_arrays.aspStela wrote:What does it mean the [] ?
Ex:
$s[0]
$s[$i]
Where can I get a list for this group (like the group of Logical operators, etc).
Thanks
I'm not sure what you mean by "a list for this group." If you mean PHP syntax, try:
http://www.w3schools.com/php/php_operators.asp