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 a is 3 and b is 4 Both are 3 Both are 4 a is 4 and b is 3 a is 3 and b is 4 Both are 3 Both are 4 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$user = array("Ashley", "Bale", "Shrek", "Blank");for ($x=0; $x < count($user); $x++){if ($user[$x] == "Shrek")continue;printf ($user[$x]);} Shrek AshleyBaleBlank AshleyBale ShrekBlank Shrek AshleyBaleBlank AshleyBale ShrekBlank ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following code?function track() {static $count = 0;$count++;echo $count;}track();track();track(); 111 011 123 000 111 011 123 000 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 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 When the parameter is being declared as passed by reference When the parameter is Boolean When the function contains only one parameter ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$a = "clue";$a .= "get";echo "$a"; false true clueget get false true clueget get ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Who is the father of PHP? Rasmus Lerdorf List Barely Willam Makepiece Drek Kolkevi Rasmus Lerdorf List Barely Willam Makepiece Drek Kolkevi ANSWER DOWNLOAD EXAMIANS APP