What is the output of the following code? $sentence = "ThiS iS a SenTEnCe"; echo ucwords($sentence);
Correct Answer: ThiS IS A SenTEnCe
Explanation:
Note: This Question is unanswered, help us to find answer for this one
PHP Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More PHP MCQ Questions
What does the following statement do with respect to the errors that will get displayed? error_reporting(E_ALL & ~E_NOTICE);
Correct way to add 1 to the $a variable?
How to set a particular time zone to be used by your PHP code?
Function to check if a variable is an array or not?
What is the output? $foo = 10; $bar = '10'; if ($foo === $bar){ echo 'I ran'; }
When using php cli how can you return the same info as phpinfo()
What does the return code E_ERROR indicate?
Function to create your own streams using the PHP stream wrappers and register them within PHP?
dirname(__FILE__) will return what?
Which character is used to separate namespaces in PHP?