How to multiple line printing in PHP
Multi-lines Printing:
Here
are the examples to print multiple lines in a single print statement
# First Example
print <<
multiple lines with $variable interpolation. Note
that the here document terminator must appear on a
line with just a semicolon no extra whitespace!
END;
# Second Example
print "This spans
multiple lines. The newlines will be
output as well";
?>
How to multiple line printing in PHP
Reviewed by Rajat Jha
on
11:35:00
Rating:
No comments: