PrepAway - Latest Free Exam Questions & Answers

What is the difference between "print" and "echo"

What is the difference between “print” and “echo”

PrepAway - Latest Free Exam Questions & Answers

A.
There is no difference

B.
Print returns length of data printed and echo does not

C.
Echo returns length of the data printed and print does not

D.
Print buffers the output, while echo does not

2 Comments on “What is the difference between "print" and "echo"

  1. ruslanbes says:

    There is no correct answer here. As the manual says about print’s return value: “Returns 1, always.” not the length of the data.




    0



    0

Leave a Reply

Your email address will not be published. Required fields are marked *