+ 2
what is diffrance between print and echo?
print and echo both are used for display something. is there any diffrence in those two keyword
2 ответов
+ 6
Echo-
-No return value
-Can take multiple perameters
-Marginally faster than print
Print-
-Has a return value of 1
-Can only take 1 argument
-Marginally slower than echo
+ 1
Print can hold 2 arguments (sometime require to display array) where as echo do not hold any argument.