Which of the following encryption standards provides symmetric key encryption? (Choose 2)
You need to escape special characters to use user input inside a regular expression. Which functions would you use? (Choose 2)
Consider the following XML code:
Which of the following SimpleXML calls print the name of the second book?
(Let $xml=simplexml_load_file("books.xml");) (Choose 2)
What is the output of the following code: echo "1" + 2 * "0x02";
What DOMElement method should be used to check for availability of a non-namespaced attribute?
Which of the following statements about Reflection are correct? (Choose 2)
What is the output of the following code?
1
2 function append($str)
3 {
4 $str = $str.'append';
5 }
6
7 function prepend(&$str)
8 {
9 $str = 'prepend'.$str;
10 }
11
12 $string = 'zce';
13 append(prepend($string));
14 echo $string;
15 ?>
What XML component does the following XPath query try to match?
//foo[bar/@id=5]
After running this sort, what will be the value of $b?
$a = array('_!', 'def', 0);
$b = sort($a);
After executing a SELECT query on a database server,