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 Both are 4 a is 3 and b is 4 a is 4 and b is 3 Both are 3 Both are 4 a is 3 and b is 4 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following is/are a PHP code editor?1. Notepad2. Notepad++3. Adobe Dreamweaver4. PDT 1, 2 and 3 Only 3 All of the mentioned Only 4 1, 2 and 3 Only 3 All of the mentioned Only 4 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP We can use _________ to comment a single line?1. /?2. //3. #4. /* */ 1, 3 and 4 2, 3 and 4 Both 2 and 4 Only 2 1, 3 and 4 2, 3 and 4 Both 2 and 4 Only 2 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of following variables can be assigned a value to it?1. $3hello2. $_hello3. $this4. $This All of the mentioned Only 2 2 and 4 2, 3 and 4 All of the mentioned Only 2 2 and 4 2, 3 and 4 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP 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 When the function contains only one parameter When the function is being declared as a member of a class Never When the parameter is being declared as passed by reference When the parameter is Boolean When the function contains only one parameter When the function is being declared as a member of a class Never ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following php code?$num = "1";$num1 = "2";print $num+$num1; 3 12 1+2 Error 3 12 1+2 Error ANSWER DOWNLOAD EXAMIANS APP