Basic PHP What will be the output of the following php code?$num = 1;$num1 = 2;print $num . "+". $num1; Error 3 1+2 1.+.2 Error 3 1+2 1.+.2 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What is the value of $a and $b after the function call?function doSomething( &$arg ) {$return = $arg;$arg += 1;return $return;}$a = 3;$b = doSomething( $a ); a is 4 and b is 3 Both are 3 a is 3 and b is 4 Both are 4 a is 4 and b is 3 Both are 3 a is 3 and b is 4 Both are 4 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What does PHP stand for?1. Personal Home Page2. Hypertext Preprocessor3. Pretext Hypertext Processor4. Preprocessor Home Page Only 2 Both 1 and 3 Both 1 and 2 Both 2 and 4 Only 2 Both 1 and 3 Both 1 and 2 Both 2 and 4 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Within a namespace, for accessing the built-in PHP classes you can prefix the class name with a . . . . . and let PHP look in the global class list. percent ampersand asterix backslash percent ampersand asterix backslash ANSWER DOWNLOAD EXAMIANS APP
Basic PHP strval() Accepts a value and converts it into string equivalent None of above Accepts a value and converts it into an string dictionary Accepts a value and converts it into a string array Accepts a value and converts it into string equivalent None of above Accepts a value and converts it into an string dictionary Accepts a value and converts it into a string array ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$num = 10;echo 'What is her age? \n She is $num years old'; What is her age? n She is $num years old What is her age?n She is 10 years old What is her age? She is $num years old What is her age? She is 10 years old What is her age? n She is $num years old What is her age?n She is 10 years old What is her age? She is $num years old What is her age? She is 10 years old ANSWER DOWNLOAD EXAMIANS APP