0 votes
100 views
in PHP by (2.0k points)
edited

What is "echo" in PHP?

1 Answer

0 votes
by (2.0k points)
selected by
 
Best answer

PHP echo output one or more string. It is a language construct not a function. So the use of parentheses is not required. But if you want to pass more than one parameter to echo, the use of parentheses is required.

void echo ( string $arg1 [, string $... ] )
 

Related questions

0 votes
1 answer 159 views
0 votes
1 answer 135 views
asked Oct 9, 2022 in PHP by MrRam (2.0k points)
0 votes
1 answer 143 views
asked Oct 9, 2022 in PHP by MrRam (2.0k points)
0 votes
1 answer 106 views
asked Oct 9, 2022 in PHP by Doubtly (98.9k points)
0 votes
1 answer 127 views
0 votes
1 answer 122 views
asked Apr 9, 2022 in PHP by Doubtly (98.9k points)

Doubtly is an online community for engineering students, offering:

  • Free viva questions PDFs
  • Previous year question papers (PYQs)
  • Academic doubt solutions
  • Expert-guided solutions

Get the pro version for free by logging in!

5.7k questions

5.1k answers

108 comments

561 users

...