nerdexam
Zend

200-710 · Question #72

What is the pattern modifier for handling UTF-8 encoded preg_* functionality?

The correct answer is B. u. See the full explanation below for the reasoning.

Strings & Patterns

Question

What is the pattern modifier for handling UTF-8 encoded preg_* functionality?

Options

  • Ae
  • Bu
  • CPHP does not support UTF-8 encoded strings
  • DA pattern modifier is not needed

How the community answered

(22 responses)
  • A
    9% (2)
  • B
    77% (17)
  • D
    14% (3)

Topics

#regex modifier#UTF-8#preg functions#PCRE

Community Discussion

No community discussion yet for this question.

Full 200-710 Practice