1.

What will be the output of the following PHP code ?
<?php
function uppercase($str)
{
echo ucwords($str);
}
$fun = "uppercase";
$fun("time to do a great job.");
?>

A. Error
B. Time To Do A Great Job.
C. time to do a great job.
D. Nothing
E. None of these
Answer» C. time to do a great job.


Discussion

No Comment Found

Related MCQs