What is the equivalent print syntax this Java code in PHP?
System.out.println("Hello World");
System.out.println("Lorem Ipsum");
I can achieve this in PHP by using "\n" in the end of the string
print "Hello World\n";
print "Lorem Ipsum";
But I don't want to use "\n" every time I want to print something on console