What are the advantages of using echo over print when outputting multiple lines in PHP?

When outputting multiple lines in PHP, using echo over print can be more efficient because echo does not have a return value, making it slightly faster. Additionally, echo can output multiple strings separated by commas, while print can only output one string at a time. This can make echo a more convenient choice when outputting multiple lines of text in PHP.

// Using echo to output multiple lines of text
echo "Line 1\n";
echo "Line 2\n";
echo "Line 3\n";