19 Answers
New Answer19 Answers
New AnswerThere is "." to concatenate the first and the second lines. So, echo 'A'. b='B'; == echo 'A'.b='B'; == echo 'AB';
echo 'A'. $b = 'B'; echo 'B'; echo 'C'; Answer: ABBC because of dot (.) echo 'A'; $b = 'B'; echo 'B'; echo 'C'; Answer: ABC
There's a dot (.) between first and second line which concatenates AB and the rest is same.
Just a small differences ; is replaced by . That's why answer is ABBCππ
AJ #L1G3 both of these are the same... <?php echo 'A'. /* did you see the period */ $b = 'B'; echo 'B'; echo 'C'; ?> <?='A'.$b='B'.'B'.'C';?>
Because the cache memory is cleared when the second echo command is called ....π
UTKARSH SANGAL and Tony Mark please do not spam threads as this takes away from the quality of the thread and provides no relevant information to those needing help. Thanks and happy coding. https://code.sololearn.com/Wv5gTHy1N6Ji/?ref=app
AJ #L1G3 It's in the dot (.) and semicolon (;). Many viable answers here already... π
Learn Playing. Play Learning
SoloLearn Inc.
4 Embarcadero Center, Suite 1455Send us a message