Наглядно:
PHP:
скопировать код в буфер обмена
скопировать код в буфер обмена
- "name" => "Vasya",
- "age" => 40,
- "work_exp" => "7 years 5 month"
- );
- "sociable person",
- "great work experience"
- );
- $data[0]["score_on_5_point_scale"] = 5;
- "name" => "Petya",
- "age" => 32,
- "work_exp" => "4 years 2 month"
- );
- "communicative personality",
- "hard working person"
- );
- $data[1]["score_on_5_point_scale"] = 4.5;