Basic PHP Which version of PHP introduced Try/catch Exception? PHP 4 PHP 5 PHP 5.3 PHP 6 PHP 4 PHP 5 PHP 5.3 PHP 6 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$color = "maroon";$var = $color[2];echo "$var"; a r Error $var a r Error $var ANSWER DOWNLOAD EXAMIANS APP
Basic PHP How does the identity operator === compare two values? It converts both values to strings and compares them It returns True only if they are both of the same type and value It converts them to a common compatible data type and then compares the resulting values It bases its comparison on the C strcmp function exclusively If the two values are strings, it performs a lexical comparison It converts both values to strings and compares them It returns True only if they are both of the same type and value It converts them to a common compatible data type and then compares the resulting values It bases its comparison on the C strcmp function exclusively If the two values are strings, it performs a lexical comparison 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 All of the mentioned. 2, 3 and 4 Only 2 2 and 3 All of the mentioned. 2, 3 and 4 Only 2 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 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 ); Both are 3 a is 3 and b is 4 Both are 4 a is 4 and b is 3 Both are 3 a is 3 and b is 4 Both are 4 a is 4 and b is 3 ANSWER DOWNLOAD EXAMIANS APP