PHP has lots of string function that helps in development. Here are some PHP string functions.

  • nl2br()
  • trim()
  • str_replace()
  • str_word_count()
  • strlen()
  • strpos()
  • strstr()
  • strtolower()
  • strtoupper()
BY Best Interview Question ON 01 Oct 2019