0

What is the purpose of the dots: . $i .

<?php $i = 5; do { echo "The number is " . $i . "<br/>"; $i++; } while($i <= 7); ?>

9th Nov 2016, 2:14 AM
John Titor
2 Answers
0
dots used for strings concatenating
9th Nov 2016, 2:48 AM
Nick V. Kondratiev
Nick V. Kondratiev - avatar
0
concatenate
9th Nov 2016, 5:11 PM
Danish Amin Dar
Danish Amin Dar - avatar