1.
In PHP, what is the nl2br() function used for?
2.
In PHP, the <?= tag signifies ________________________.
3.
In PHP, which of the following functions is used to send cookies without encoding their values?
4.
In PHP, which of the following object-oriented patterns is used to implement a class that is instantiated only once in a script?
5.
In PHP, which of the following methods is used to override the default mechanism of serialization of objects?
6.
In PHP, which of the following methods is used to access a cookie from a domain that is different from the one the cookie is set for?
7.
 

Which of the following PHP command lines is used by the index.php script to access the email form element in the code given below:

 
<form action="index.php" method="post">
<input type="text" name="email"/></form>
8.
In an HTTPS transaction, which of the following methods is used to pass URLs and query strings from the browser to the web server?
9.
What happens when a form submitted to a PHP script contains two elements with the same name?
10.
Which of the following is not present in the following PHP script:
<?php
$rs = database_query ("select * from mytable where id = " .$my_id);
while ($a = database_get_data ($rs){
var_dump ($a);
}
?>