Q:

What will be the output of the following PHP code?

0

What will be the output of the following PHP code?

<?php
    $title = "O'malley wins the heavyweight championship!";
    echo ucwords($title);
    ?>

  1. O’Malley Wins The Heavyweight Championship!
  2. O’malley Wins The Heavyweight Championship!
  3. O’Malley wins the heavyweight championship!
  4. o’malley wins the heavyweight championship!

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

 (d).o’malley wins the heavyweight championship!

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

PHP STRINGS AND REGULAR EXPRESSIONS MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
What will be the output of the following PHP code?... >>
<< Which one of the following functions will convert ...