Q. What will be the output of the following PHP code?

Code:
<?php
    function uppercase($string)
    {
        echo ucwords($string);
    }
    $wow = "uppercase";
    $wow("Time to live king size");
?> 
  • (A) Time To Live King Size
  • (B) Uppercase
  • (C) Time to live king size
  • (D) TIME TO LIVE KING SIZE
πŸ’¬ Discuss
βœ… Correct Answer: (A) Time To Live King Size

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
261
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Yogesh
Publisher
πŸ“ˆ
87%
Success Rate