Basic PHP What will be the output of the following PHP code?$score = 1234;$scoreboard = (array) $score;echo $scoreboard[0]; 2 1234 1 Error 2 1234 1 Error ANSWER DOWNLOAD EXAMIANS APP
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 Which version of PHP introduced Try/catch Exception? PHP 4 PHP 5 PHP 6 PHP 5.3 PHP 4 PHP 5 PHP 6 PHP 5.3 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP PHP runs on different platforms (Windows, Linux, Unix, etc.) False True False True 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]);} AshleyBaleBlank ShrekBlank AshleyBale Shrek AshleyBaleBlank ShrekBlank AshleyBale Shrek 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(); 000 123 011 111 000 123 011 111 ANSWER DOWNLOAD EXAMIANS APP