-
What will be the output of the following PHP code ?
<?php
function str($Message)
{
$Message = ucwords($Message);
echo lcfirst($Message);
}
str("this is important...");
?>
-
- this Is Important...
- this is important...
- Error
- Nothing
- None of these
Correct Option: A
ucwords() changes all the first letters to capitals. lcfirst() changes first letter of a string to small.