Basic PHP What will be the output of the following PHP code?$score = 1234;$scoreboard = (array) $score;echo $scoreboard[0]; 1 Error 2 1234 1 Error 2 1234 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following must be installed on your computer so as to run PHP script?1. Adobe Dreamweaver2. PHP3. Apache4. IIS 2 and 3 Only 2 2, 3 and 4 All of the mentioned. 2 and 3 Only 2 2, 3 and 4 All of the mentioned. ANSWER DOWNLOAD EXAMIANS APP
Basic PHP You can test the type of any variable with the ..... function. settype() whattype() gettype() showtype() settype() whattype() gettype() showtype() 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(); 011 000 111 123 011 000 111 123 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$num = 10;echo 'What is her age? \n She is $num years old'; What is her age? n She is $num years old What is her age? She is $num years old What is her age?n She is 10 years old What is her age? She is 10 years old What is her age? n She is $num years old What is her age? She is $num years old What is her age?n She is 10 years old What is her age? She is 10 years old 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 ShrekBlank AshleyBaleBlank Shrek AshleyBale ShrekBlank AshleyBaleBlank ANSWER DOWNLOAD EXAMIANS APP