Zend 200-550 Exam
Zend Certified PHP Engineer (Page 7 )

Updated On: 30-Jan-2026

Which function can NOT help prevent cross-site scripting? (Choose 2)

  1. addslashes()
  2. htmlentities()
  3. htmlspecialchars()
  4. strip_tags()
  5. quotemeta()

Answer(s): A,E



What DOMElement method should be used to check for availability of a non-namespaced attribute?

  1. getAttributeNS()
  2. getAttribute()
  3. hasAttribute()
  4. hasAttributeNS()

Answer(s): C



Which of the following statements about Reflection is correct?

  1. Reflection is an extension that can be disabled
  2. Reflection is a new extension present only in PHP 5.3+
  3. Reflection only allows to reflect on built-in classes
  4. Built-in classes can be reflected on command line using php --rc <classname>

Answer(s): D



Which of the following is NOT possible using reflection?

  1. Analysing of nearly any aspect of classes and interfaces
  2. Analysing of nearly any aspect of functions
  3. Adding class methods
  4. Implement dynamic construction (new with variable class name)

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



Viewing page 7 of 46
Viewing questions 31 - 35 out of 223 questions



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

Join the 200-550 Discussion