If $a = 12 what will be returned when ($a == 12) ? 5 : 1 is executed? Error 12 1 5 TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code?<br/>$total = "25 students";<br/>$more = 10;<br/>$total = $total + $more;<br/>echo "$total"; 25 students 35 Error 35 students TRUE ANSWER : ? YOUR ANSWER : ?
Which of the below statements is equivalent to $add += $add ? $add = $add +$add $add = $add + $add + 1 $add = $add + 1 $add = $add TRUE ANSWER : ? YOUR ANSWER : ?
We can use _________ to comment a single line?<br/>1. /?<br/>2. //<br/>3. #<br/>4. /* */ 2, 3 and 4 1, 3 and 4 Both 2 and 4 Only 2 TRUE ANSWER : ? YOUR ANSWER : ?
Which of the below namespace declaration is correct? namespace ORA; namespace ORA: namespace 1_RA; namespace ORA_#; TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code?<br/>$a = "clue";<br/>$a .= "get";<br/>echo "$a"; false clueget get true TRUE ANSWER : ? YOUR ANSWER : ?
With the introduction of namespaces, the same function name can be used in multiple places. FALSE TRUE TRUE ANSWER : ? YOUR ANSWER : ?
PHP runs on different platforms (Windows, Linux, Unix, etc.) False True TRUE ANSWER : ? YOUR ANSWER : ?
Under what circumstance is it impossible to assign a default value to a parameter while declaring a function? When the parameter is being declared as passed by reference When the parameter is Boolean Never When the function contains only one parameter When the function is being declared as a member of a class TRUE ANSWER : ? YOUR ANSWER : ?
PHP does not support numbers written in hexadecimal, octal or scientific notation. True False TRUE ANSWER : ? YOUR ANSWER : ?