Newer PHP versions dont require semicolons as JS doesnt (mainly because they dont require compilation and the interpreters are now smart enough to see that), but it is HIGHLY recommended you use them to prevent errors in the future
I tried this in Code Playground and got slapped in the face : )
I guess SoloLearn version is old ... ?
echo "<p>Is it true PHP doesn't require semicolon anymore?<br />"
echo "Is that a fact? <br />maybe curly brackets be gone next ... XD</p>"