nerdexam
Zend

200-710 · Question #227

Are PHP constants case-sensitive?

The correct answer is C. Yes, they are always case-sensitive. See the full explanation below for the reasoning.

PHP Basics

Question

Are PHP constants case-sensitive?

Options

  • AThey are by default, but it is possible to create case-insensitive constants.
  • BThey are not by default, but it is possible to create case-insensitive constants.
  • CYes, they are always case-sensitive.
  • DNo, they are always case-insensitive.

How the community answered

(40 responses)
  • A
    5% (2)
  • B
    3% (1)
  • C
    80% (32)
  • D
    13% (5)

Topics

#constants#case sensitivity#define#PHP basics

Community Discussion

No community discussion yet for this question.

Full 200-710 Practice