0 votes
2.4k views
in PHP by

1 Answer

0 votes
by

There are following difference between print and echo:

echo print
It is a statement not a function It is real function
It does not require the parentheses It required the parentheses
It does not return value It returns type 1
Syntax:
void echo ( string $arg1 [, string $... ] )
Syntax:
int print ( string $arg )

 

Share:- Whatsapp Facebook Facebook


Welcome to Developerhelpway Q&A, where you can ask questions and receive answers from other members of the community.

Categories

...