1.

<?phpecho count_chars("AA",1);?>13.A variable $str is set to "HELLO WORLD", which of the following script returns it title case?

A. echo ucwords($str)
B. echo ucwords(strtolower($str)
C. echo ucfirst($str)
D. echo ucfirst(strtolower($str)
Answer» C. echo ucfirst($str)


Discussion

No Comment Found