0

Зачем точка на строке echo после слова $name?

<?php $names = array("John", "David", "Amy"); foreach ($names as $name) { echo $name.'<br />'; } ?>

21st Jun 2018, 5:36 AM
Sonia Gromovaia
Sonia Gromovaia - avatar
1 Resposta
+ 3
Hello, Sonya Gromovaya !  . - это оператор конкатенации строк. т.е аналог "+" в javascript -------------------------------------- translate . is the string concatenation operator. i.e. the analog of "+" in javascript
21st Jun 2018, 5:52 AM
Alexander Sokolov
Alexander Sokolov - avatar