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]);} ShrekBlank AshleyBaleBlank AshleyBale Shrek ShrekBlank AshleyBaleBlank AshleyBale Shrek ANSWER DOWNLOAD EXAMIANS APP
Basic PHP All classes in the same namespace or subnamespace don’t have to the declared in the same PHP file. TRUE FALSE TRUE FALSE 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 4 Both are 3 a is 3 and b is 4 a is 4 and b is 3 Both are 4 Both are 3 a is 3 and b is 4 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What is the limit of a PHP integer value? 16384 65536 1048576 2147483647 16384 65536 1048576 2147483647 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which statement will output $x on the screen? echo “$x;”; echo “\$x”; echo “$$x”; echo “/$x”; echo “$x;”; echo “\$x”; echo “$$x”; echo “/$x”; ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Assigning the empty string (like ' ') to a variable automatically renders it empty. True False True False ANSWER DOWNLOAD EXAMIANS APP