The function mysqli_affected_rows() can be used to perform which of the following actions? (Choose 2)
Which of the following statements is true?
What is the content of $c after the following code has executed?
$a = 2;
$b = 3;
$c = ($a++ * ++$b);
What DOMElement method should be used to check for availability of a non-namespaced attribute?
Which of the following can be registered as entry points with a SoapServer instance (choose 3)
What can NOT be used to send a cookie from within a PHP application?
Which parts of the text are matched in the following regular expression?
What is the output of the following code?
1 <?php
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 is the output of the following code?
You want to allow your users to submit HTML code in a form, which will then be displayed as real code and not affect your site layout. Which function do you apply to the text, when displaying it? (Choose 2)