nerdexam
Zend

200-710 · Question #15

Which of the following are valid identifiers? (Choose 3)

The correct answer is B. function_obj(){}{} C. function_object(){} E. $_f_1 = "Hello World". See the full explanation below for the reasoning.

PHP Basics

Question

Which of the following are valid identifiers? (Choose 3)

Options

  • Afunction_4You(){}
  • Bfunction_obj(){}{}
  • Cfunction_object(){}
  • D$1 = "Hello";
  • E$_f_1 = "Hello World";

How the community answered

(55 responses)
  • A
    11% (6)
  • B
    84% (46)
  • D
    5% (3)

Topics

#identifiers#naming rules#variable names#function names

Community Discussion

No community discussion yet for this question.

Full 200-710 Practice