Basic PHP MCQ Interview Question’s & Answer’s Basic PHP 1 / 10 PHP stands for - Hypertext Preprocessor Pretext Hypertext Preprocessor Personal Home Processor None of the above 2 / 10 Who is known as the father of PHP? Drek Kolkevi List Barely Rasmus Lerdrof None of the above 3 / 10 Variable name in PHP starts with - ! (Exclamation) $ (Dollar) & (Ampersand) # (Hash) 4 / 10 Which of the following is not a variable scope in PHP? Extern Local Static Global 5 / 10 Which of the following is correct to add a comment in php? & …… & // …… /* …… */ Both (b) and (c) 6 / 10 Which of the following is used to display the output in PHP? echo write print Both (a) and (c) 7 / 10 Which of the following is the use of strlen() function in PHP? The strlen() function returns the type of string The strlen() function returns the length of string The strlen() function returns the value of string The strlen() function returns both value and type of string 8 / 10 Which of the following is used for concatenation in PHP? + (plus) * (Asterisk) . (dot) append() 9 / 10 Which of the following starts with __ (double underscore) in PHP? Inbuilt constants User-defined constants Magic constants Default constants 10 / 10 Which of the following is the use of strpos() function in PHP? The strpos() function is used to search for the spaces in a string The strpos() function is used to search for a number in a string The strpos() function is used to search for a character/text in a string The strpos() function is used to search for a capitalize character in a string Your score isThe average score is 60% 0% Restart quiz