Official Bank 0/221

Zend Certified PHP Engineer (200-550) - Zend Exam Questions

Last updated on June 20, 2026

97% Exam Compliance
221 Total Questions
1
Question
What is the output of the following code?
$first = "second";
$second = "first";
echo $$$first;
Options
A "second"
B "first"
C an error
D an empty string
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

2
Question
Given the following code, how can we use both traits A and B in the same class? (select all that apply)
trait A {
public function hello() {
return "hello";
}
public function world() {
return "world";
}
}
trait B {
public function hello() {
return "Hello";
}
public function person($name) {
return ":$name";
}
}
Select 4
Options
A Rename the A::hello() method to a different name using A::hello renameto helloA;
E: None of the above (both can be used directly)
B Rename the A::hello() method to a different name using A::hello as helloA;
C Use B::hello() instead of A 's version using B::hello insteadof A
D Use B::hello() instead of A 's version using use B::hello
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

3
Question
When uploading a file to a PHP script using the HTTP PUT method, where would the file data be found?
Options
A the input stream php://input
B the $_FILES super-global
C the global variable scope
D the $_POST super-global
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

4
Question
An HTML form contains this form element: The user clicks on the image to submit the form. How can you now access the relative coordinates of the mouse click?
Options
A $_POST['myImage_x'] and $_POST['myImage_y']
B $_POST['myImage']['x'] and $_POST['myImage']['y']
C $_FILES['myImage']['x'] and $_FILES['myImage']['y']
D $_POST['myImage.x'] and $_POST['myImage.y']
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

5
Question
What will be the result of the following operation?
array_combine(array("A","B","C"), array(1,2,3));
Options
A array(1,2,3,"A","B",C")
B array("A","B","C",1,2,3)
C array(1=>"A",2=>"B",3=>"C")
E: array(1,2,3)
D array("A"=>1,"B"=>2,"C"=>3)
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

Finish Practice?

Are you sure you want to finish? This will end your practice session.