1.
In PHP, which of the following functions is used to check if a variable is declared and is not null?
2.
What is the output of the following PHP code:
<?php
if ('8' == 8) {
    echo "True";
} else {
    echo "False";
}

?>
3.
How the value of the 'x' is accessed in PHP:
$a = array('a',3 => 'b','x');
4.
What is the output of the following PHP code:
<?php
function chngValue(&$y)
{
$y = $y + 5;
}
$myNumber = 8;
chngValue($myNumber);
echo $myNumber;
?>
5.
Which of the following is the valid types of errors in PHP?
6.
Which of the following errors represent the critical error in PHP?
7.
What is the output of the following PHP code:
<?php
$colors = array("black","blue","white","magenta");
foreach ($colors as $value)
{
     echo "$value
      ";
}
?>
8.
In PHP, the number of elements is counted by using ______________ function.
9.
In PHP, which of the following associative arrays is used to store the variables of the current session?
10.
In PHP, which of the following statements about the mysql_pconnect function is correct:

  1. It is used to connect to the MySQL server.

  2. It is used to create a persistent connection to the MySQL server.

  3. It returns an identifier of an existing open connection before opening any new connection.


  4.