Basic PHP What will be the output of the following PHP code?$score = 1234;$scoreboard = (array) $score;echo $scoreboard[0]; Error 1234 2 1 Error 1234 2 1 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following is/are a PHP code editor?1. Notepad2. Notepad++3. Adobe Dreamweaver4. PDT Only 3 1, 2 and 3 All of the mentioned Only 4 Only 3 1, 2 and 3 All of the mentioned Only 4 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which version of PHP introduced Try/catch Exception? PHP 5 PHP 4 PHP 5.3 PHP 6 PHP 5 PHP 4 PHP 5.3 PHP 6 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP strval() Accepts a value and converts it into a string array None of above Accepts a value and converts it into string equivalent Accepts a value and converts it into an string dictionary Accepts a value and converts it into a string array None of above Accepts a value and converts it into string equivalent Accepts a value and converts it into an string dictionary 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]);} AshleyBale ShrekBlank Shrek AshleyBaleBlank AshleyBale ShrekBlank Shrek AshleyBaleBlank 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. percent ampersand asterix backslash percent ampersand asterix backslash ANSWER DOWNLOAD EXAMIANS APP