Practice mode / PHP Which of the following function returns a text in title case from a variable? A Option A: ucwords($var) B Option B: upper($var) C Option C: toupper($var) D Option D: ucword($var) Correct answer A. ucwords($var) Show answer Report a problem How we write and check questions
Question 01 / PHP Which of the following method sends input to a script via a URL? A Option A: Get B Option B: Post C Option C: Both D Option D: None Correct answer A. Get Show answer Open question
Question 02 / PHP When you need to obtain the ASCII value of a character which of the following function you apply in PHP? A Option A: chr( ); B Option B: asc( ); C Option C: ord( ); D Option D: val( ); Correct answer C. ord( ); Show answer Open question
Question 03 / PHP Which of the following variables is not a predefined variable? A Option A: $get B Option B: $ask C Option C: $request D Option D: $post Correct answer B. $ask Show answer Open question
Question 04 / PHP PHP scripts are enclosed within A Option A: <php> . . . </php> B Option B: <?php . . . ?> C Option C: ?php . . . ?php D Option D: <p> . . . </p> Correct answer B. <?php . . . ?> Show answer Open question
Discussion