A variable $word is set to HELLO WORLD, which of the following script returns in title case?

php - Online Exam Test Papers | php - MCQs[multiple choice questions and answers ] | php - Mock Test Papers | php - Practice Papers | php - Sample Test Papers |

Question:
A variable $word is set to HELLO WORLD, which of the following script returns in title case?

1.echo ucwords($word)

2.echo ucwords(strtolower($word)

3.echo ucfirst($word)

4.echo ucfirst(strtolower($word)

Posted Date:-2021-08-04 08:13:53


More MCQS Questions and answers

Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!