What is the use of 'print' in php?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jatindersingh
    Member
    • Sep 2014
    • 52

    What is the use of 'print' in php?

    What is the use of 'print' in php?
  • priya.sharma
    Senior Member
    • Aug 2016
    • 105

    #2
    It is used to print one or more strings on the screen but it is slower than echo

    Comment

    • Swati walia
      Senior Member
      • Sep 2016
      • 108

      #3
      The print() function used to outputs one or more strings. The print() function is not actually a function, so you are not required to use parentheses with it.

      Comment

      • Shubham Kumar
        Junior Member
        • Aug 2016
        • 16

        #4
        In Php : Print is use to output data to the screen .

        Comment

        • Guest

          #5
          It is used to print output on the screen

          Comment

          Working...