adspace


What's the output of the ucwords function in this example?

Answer Posted / Tripuresh Misra

The ucwords() function converts the first character of each word to uppercase. If we use it on a string like 'hello world', the output will be 'Hello World'. Note that 'world' is considered as a single word since words are separated by spaces.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Name and explain five of the PHP error constants?

1039


sort term descripttion form, report and uery

2254


What is the current stable version of php? What advance thing in php7?

1095


how to detect a mobile device using php

1174


What is the current stable version of php?

1126


What is trait in php?

1068


Write a program using while loop?

1122


What sized websites have you worked on in the past?

1088


Tell me what kind of things have you done on the social side?

1067


How to calculate the difference between two dates using php?

1147


What is difference between static and final in php?

1109


How can we extract string "pcds.co.in" from a string "https://info@pcds.co.in" using regular expression of php? More on reg can you explain

1080


List some features of php that are deprecated in php7?

1024


How to create a web form?

1113


What is the difference between htmlentities() and htmlspecialchars()?

1094