
PHP
- 7 ответов
- 0 вопросов
4
Вклад в тег
$arr[key] = value;
$arr[] = value;
// key may be an integer or string
// value may be any value of any type
//If $arr doesn't exist yet, it will be created, so this is also an alternative way to create an array