The strtolower() function is used to converts a string to lowercase. All other special characters or numeric characters in the string remains…

The strtolower() function is used to converts a string to lowercase. All other special characters or numeric characters in the string remains…