Discussion :: PHP - CS
-
What will be the output of the following PHP code ?
<?php
function uppercase($string)
{
echo ucwords($string);
}
$wow = "uppercase";
$wow("Time to live king size");
?>
Answer : Option D
Explanation :
The ucwords() function converts the first character of each word in a string to uppercase.
Be The First To Comment