Comments in PHP

Comments in PHP

Sujitha

Comments in Php.

         In PHP, commends are typically referred to as functions, and they are used to perform specific tasks or operations.

  1. Echo:  used to output content to the screen.
  2. Print: Similar to'echo', used to output content to the screen
  3. If/else: Condition statement useing fir decision making.
  4. For/while: Looping constructs for repeating task.
  5. Include/require: Used to include external php file.
  6. Strlen: Return the length of the string.
  7. Substr:Extracts a substring for a string.
  8. Array:  Used to create array.
  9. Count: Return the number of elements in a array.
  10. Implode: Join the array elements into a string.

Our website uses cookies to enhance your experience. Learn More
Accept !