Testking offers free demo for 200-530 exam. "Zend PHP 5.3 Certification", also known as 200-530 exam, is a Zend Technologies Certification. This set of posts, Passing the Zend Technologies 200-530 exam, will help you answer those questions. The 200-530 Questions & Answers covers all the knowledge points of the real exam. 100% real Zend Technologies 200-530 exams and revised by experts!
Q16. What super-global should be used to access information about uploaded files via a POST request?
A. $_SERVER
B. $_ENV
C. $_POST
D. $_FILES
E. $_GET
Answer: D
Q17. CORRECT TEXT
What is the output of the following code?
Answer: 1
Q18. Consider the following two files. When you run test.php, what would the output look like?
A. 12, 12
B. 12, 24
C. 24, 12
D. 24, 24
E. PHP Fetal error. Cannot redeclare strlen()
Answer: C
Q19. What is the best way to run PHP 4 and PHP 5 side-by-side on the same Apache server?
A. Run one as an Apache module, the other as a CGI binary.
B. Run both as a CGI binary.
C. Just use .php4 for PHP 4, and .php for PHP 5.
D. Use .php for both but use different document roots.
Answer: A
Q20. Which of the following encryption standards provides symmetric key encryption? (Choose 2)
A. AES
B. Blowfish
C. DES
D. RSA
Answer: AB
Q21. Which of the following configuration directives increase the risk of remote code injection when enabled? (Choose 2)
A. allow_url_fopen
B. register_globals
C. magic_quotes_gpc
D. safe_mode
Answer: AB
Q22. What piece of code would you use to obtain an array of response headers for a given URL, indexed by their respective names?
A. get_headers($url);
B. get_header($url);
C. stream_context_get_headers($url);
D. get_headers($url, 1);
E. get_headers($url, ASSOC_HEADERS);
Answer: D
Q23. What function can be used to retrieve an array of current options for a stream context?
A. stream_context_get_params
B. stream_context_get_default
C. stream_context_get_options
D. The 'options' element of the stream_get_rneta_data return value
Answer: C
Q24. Which of the following parts must a XML document have in order to be well-formed?
A. An XML declaration
B. A root element
C. A specified encoding
D. A reference to either a DTD or an XML schema definition
Answer: B
Q25. Which PHP function relieves a 1st of HTTP headers that have been sent as part of the HTTP response or are ready to be sent?
A. header()
B. headers()
C. header_list()
D. header_sent()
E. getresponseheaders0
Answer: C
Q26. CORRECT TEXT
Which SPL class implements fixed-size storage?
Answer: SplFixedArray
Q27. 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 ?>
A. zceappend
B. prependzceappend
C. prependzce
D. zce
Answer: C
Q28. Do constants have global scope or local scope?
A. They have global scope
B. They have local scope
C. They have both global and local scope
D. They have neither global nor local scope
Answer: B
Q29. Which of the following superglobals does not contain data from the client?
A. $_POST
B. $_SESSION
C. $_GET
D. $_SERVER
Answer: B
Q30. Consider the following table data and PHP code. What is the outcome?
Table data (table name "users" with primary key "Id"):
A. The database will return no rows
B. The value of $result will be an array
C. The value of $result will be empty
D. The value of $result will be 'gamma@exmple.net'.
Answer: D