Free 200-550 Exam Braindumps
Zend Certified PHP Engineer Questions 111–115 (page: 24)

Updated On: 9-Feb-2026

Which of the following statements about anonymous functions in PHP are NOT true? (Choose 2)

  1. Anonymous functions can be bound to objects
  2. Anonymous functions created within object context are always bound to that object
  3. Assigning closure to a property of an object binds it to that object
  4. Methods bind() and bindTo() of the Closure object provide means to create closures with different binding and scope
  5. Binding defines the value of $this and the scope for a closure

Answer(s): B,C



What will be the result of the following operation?
$a = array_merge([1, 2, 3] + [4=>1, 5, 6]);
echo $a[2];

  1. 4
  2. 3
  3. 2
  4. false
  5. Parse error

Answer(s): B



Which of the following functions will allow identifying unique values inside an array?

  1. array_unique_values
  2. array_distinct
  3. array_count_values
  4. array_intersect
  5. array_values

Answer(s): C



When using password_hash() with the PASSWORD_DEFAULT algorithm constant, which of the following is true? (Choose 2)

  1. The algorithm that is used for hashing passwords can change when PHP is upgraded.
  2. The salt option should always be set to a longer value to account for future algorithm requirements.
  3. The string length of the returned hash can change over time.
  4. The hash algorithm that's used will always be compatible with crypt() .

Answer(s): A,C



Which of the following are NOT acceptable ways to create a secure password hash in PHP? (Choose 2)

  1. md5()
  2. hash_pbkdf2()
  3. password_hash()
  4. crypt()
  5. openssl_digest()

Answer(s): A,E



Viewing page 24 of 46
Viewing questions 116 - 120 out of 223 questions


Post your Comments and Discuss Zend 200-550 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!