Q:

What will be the output of the following PHP code ?

0

What will be the output of the following PHP code ?

<?php
    function string($title);
    {
        $title = ucwords($title);
        echo lcfirst($title);
    }
    string("welcome to compsciedu site");
?>

  1. Welcome to compsciedu site
  2. Welcome To Compsciedu Site
  3. WELCOME TO COMPSCIEDU SITE
  4. welcome To Compsciedu Site

All Answers

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

 (d).welcome To Compsciedu Site

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

total answers (1)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now