Professional Documents
Culture Documents
Passguide Zend 500 200
Passguide Zend 500 200
Passguide Zend 500 200
Q&A Demo
www.PassGuide.com
Study Tips
This product will provide you questions and answers carefully compiled and written by our
experts. Try to understand the concepts behind the questions instead of cramming the
questions.
Go through the entire document at least twice so that you make sure that you are not
missing anything.
Latest Version
We are constantly reviewing our products. New material is added and old material is
revised. Free updates are available for 120 days after the purchase. You should check your
member zone at PassGuide an update 3-4 days before the scheduled exam date.
Feedback
If you spot a possible improvement then please let us know. We always interested in
improving product quality.
Feedback should be send to feedback@passguide.com. You should include the following:
Exam number, version, page number, question number, and your login ID.
Our experts will answer your mail promptly.
Copyright
Each pdf file contains a unique serial number associated with your particular name and
contact information for security purposes. So if we find out that a particular pdf file is
being distributed by you, CertBible reserves the right to take legal action against you
according to the International Copyright Laws.
Answer: A, B
Question: 2
Which of the following statements is NOT true?
A. a)
B. b)
C. c)
D. d)
Answer: C
Question: 3
Type hinting in PHP allows the identification of the following variable types: (Choose 2)
A. String
B. Integer
C. Array
D. Any class or interface type
Answer: C, D
Question: 4
How many elements does the $matches array contain after the following function call is
performed?
preg_match('/^(\d{1,2}([a-z]+))(?:\s*)\S+ (?=200[0-9])/', '21st March 2006', $matches);
A. 1
Answer: C
Question: 5
Given the following code, what will be the value of $a?
$a = array('a', 'b'); array_push($a, array(1, 2));
A. array('a', 'b', 1, 2)
B. array(1, 2, 'a', 'b')
C. array(array(1, 2), 'a', 'b')
D. None of the above
Answer: D
Question: 6
Which of the following filtering techniques prevents cross-site scripting (XSS) vulnerabilities?
Answer: D
Question: 7
Identify the security vulnerability in the following example:
1 <?php
2 echo "Welcome, {$_POST['name']}.";
3 ?>
A. SQL Injection
B. Cross-Site Scripting
C. Remote Code Injection
D. None of the above
Answer: B
Question: 8
How many times will the function counter() be executed in the following code?
function counter($start, &$stop)
A. 3
B. 4
C. 5
D. 6
Answer: C
Question: 9
When a class is defined as final it:
Answer: A
Question: 10
Which parts of the text are matched in the following regular expression?
1 <?php
2 $text = <<<EOT
3 The big bang bonged under the bung.
4 EOT;
5
6 preg_match_all('@b.n?g@', $text, $matches);
7 ?>
Answer: C