Who is the father of PHP? Willam Makepiece Drek Kolkevi List Barely Rasmus Lerdorf TRUE ANSWER : ? YOUR ANSWER : ?
Which of the looping statements is/are supported by PHP?<br/>1. for loop<br/>2. while loop<br/>3. do-while loop<br/>4. foreach loop 1, 2 and 3 All of the mentioned None of the mentioned 1 and 2 TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following php statement/statements will store 111 in variable num?<br/>1. int $num = 111;<br/>2. int mum = 111;<br/>3. $num = 111;<br/>4. 111 = $num; Only 1 Both 1 and 2 Only 3 All of the mentioned TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code?<br/>$num = 10;<br/>echo 'What is her age? \n She is $num years old'; What is her age? She is $num years old What is her age?n She is 10 years old What is her age? n She is $num years old What is her age? She is 10 years old TRUE ANSWER : ? YOUR ANSWER : ?
How does the identity operator === compare two values? It converts both values to strings and compares them It returns True only if they are both of the same type and value If the two values are strings, it performs a lexical comparison It bases its comparison on the C strcmp function exclusively It converts them to a common compatible data type and then compares the resulting values TRUE ANSWER : ? YOUR ANSWER : ?
We can use _________ to comment a single line?<br/>1. /?<br/>2. //<br/>3. #<br/>4. /* */ 2, 3 and 4 Only 2 1, 3 and 4 Both 2 and 4 TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following code?<br/>function track() {<br/>static $count = 0;<br/>$count++;<br/>echo $count;<br/>}<br/>track();<br/>track();<br/>track(); 123 111 000 011 TRUE ANSWER : ? YOUR ANSWER : ?
PHP considers the following values as False constant NULL the integer 0 All of Above the one-character string 0 both A and B TRUE ANSWER : ? YOUR ANSWER : ?