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 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 a is 4 and b is 3 Both are 3 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP It is possible to create a hierarchy of namespaces in PHP. FALSE TRUE FALSE TRUE ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the looping statements is/are supported by PHP?1. for loop2. while loop3. do-while loop4. foreach loop None of the mentioned 1 and 2 All of the mentioned 1, 2 and 3 None of the mentioned 1 and 2 All of the mentioned 1, 2 and 3 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP The value of __NAMESPACE__ is a string that contains the current namespace name. In global, un-namespaced code, it contains . . . . . . 0 gibberish value an empty string NULL 0 gibberish value an empty string NULL 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 function is being declared as a member of a class When the function contains only one parameter Never When the parameter is Boolean When the parameter is being declared as passed by reference When the function is being declared as a member of a class When the function contains only one parameter Never When the parameter is Boolean When the parameter is being declared as passed by reference ANSWER DOWNLOAD EXAMIANS APP
Basic PHP When a simple data type is casted to an array, an array is created with the original value in the first element. False True False True ANSWER DOWNLOAD EXAMIANS APP