Under what circumstance is it impossible to assign a default value to a parameter while declaring a function? When the parameter is Boolean When the function is being declared as a member of a class When the function contains only one parameter Never When the parameter is being declared as passed by reference TRUE ANSWER : ? YOUR ANSWER : ?
PHP ..... demand that you declare a data type when you create a variable. does not does TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following php code?<br/>$num = 1;<br/>$num1 = 2;<br/>print $num . "+". $num1; 1.+.2 3 1+2 Error TRUE ANSWER : ? YOUR ANSWER : ?
Variables always start with a ........ in PHP Yen-sign Dollar-sign Pond-sign Euro-sign TRUE ANSWER : ? YOUR ANSWER : ?
When a simple data type is casted to an array, an array is created with the original value in the first element. False True TRUE ANSWER : ? YOUR ANSWER : ?
If $a = 12 what will be returned when ($a == 12) ? 5 : 1 is executed? 12 Error 5 1 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; All of the mentioned Only 3 Only 1 Both 1 and 2 TRUE ANSWER : ? YOUR ANSWER : ?
You can test the type of any variable with the ..... function. settype() gettype() whattype() showtype() TRUE ANSWER : ? YOUR ANSWER : ?
We can use _________ to comment a single line?<br/>1. /?<br/>2. //<br/>3. #<br/>4. /* */ Only 2 1, 3 and 4 2, 3 and 4 Both 2 and 4 TRUE ANSWER : ? YOUR ANSWER : ?
String values must be enclosed in ...... both A and B double quotes none of above single quotes TRUE ANSWER : ? YOUR ANSWER : ?