Basic PHP What will be the output of the following code?$foo = 'Bob';$bar = &$foo;$bar = "My name is $bar";echo $bar;echo $foo; My name is BobBob Error My name is BobMy name is Bob My name is Bob Bob My name is BobBob Error My name is BobMy name is Bob My name is Bob Bob 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 AshleyBale AshleyBaleBlank ShrekBlank Shrek AshleyBale AshleyBaleBlank ShrekBlank ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$a = "clue";$a .= "get";echo "$a"; clueget true false get clueget true false get ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which version of PHP introduced Try/catch Exception? PHP 4 PHP 5.3 PHP 6 PHP 5 PHP 4 PHP 5.3 PHP 6 PHP 5 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 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. asterix percent ampersand backslash asterix percent ampersand backslash ANSWER DOWNLOAD EXAMIANS APP