get the app get the app       get the app       get the app
Echo vs. print statement.


  • : 217
  • : 8
    Previous Next

    echo() and print() are language constructs in PHP, both are used to output strings. The speed of both statements is almost the same.

    echo() can take multiple expressions whereas print cannot take multiple expressions.

    Print return true or false based on success or failure whereas echo doesn't return true or false.

    you can suggest other answer in comment box


  • Exam: PHP Interview QUESTIONS





    Close(X)
    Subscribe here for free mock test on IAS PCS SSC and other competitive exam. Signup here to get SSC CGL Solution and main exam study material