logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • Echo vs print statement


  • Correct Answer
  • 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 


  • Technology problems


    Search Results


    • 1. What is PEAR in php?
    • Discuss
    • 2. What is PHP?
    • Discuss
    • 3. What is PHP's mysqli Extension?
    • Discuss
    • 4. How many types of Inheritances used in php and how we achieve it?
    • Discuss
    • 5. What are the different functions in sorting an array?
    • Discuss
    • 6. $message vs $$message in PHP?
    • Discuss
    • 7. Explain the different types of errors in PHP.
    • Discuss
    • 8. What is MIME?
    • Discuss
    • 9. Why many companies are switching their current business language to PHP? Where PHP basically used?
    • Discuss
    • 10. What is the difference between PHP and JavaScript?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment