If $a = 12 what will be returned when ($a == 12) ? 5 : 1 is executed? 5 Error 12 1 TRUE ANSWER : ? YOUR ANSWER : ?
Which of the below namespace declaration is correct? namespace ORA: namespace ORA_#; namespace ORA; namespace 1_RA; TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following php code?<br/>$num = "1";<br/>$num1 = "2";<br/>print $num+$num1; 12 3 Error 1+2 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 10 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 $num years old TRUE ANSWER : ? YOUR ANSWER : ?
All classes in the same namespace or subnamespace don’t have to the declared in the same PHP file. TRUE FALSE TRUE ANSWER : ? YOUR ANSWER : ?
String values must be enclosed in ...... single quotes none of above double quotes both A and B 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 : ?
What is the value of $a and $b after the function call?<br/>function doSomething( &$arg ) {<br/>$return = $arg;<br/>$arg += 1;<br/>return $return;<br/>}<br/>$a = 3;<br/>$b = doSomething( $a ); Both are 3 a is 3 and b is 4 a is 4 and b is 3 Both are 4 TRUE ANSWER : ? YOUR ANSWER : ?