Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam 200-710 All Questions

View all questions & answers for the 200-710 exam

Exam 200-710 topic 2 question 7 discussion

Actual exam question from Zend's 200-710
Question #: 7
Topic #: 2
[All 200-710 Questions]

Are PHP constants case-sensitive?

  • A. They are by default, but it is possible to create case-insensitive constants.
  • B. They are not by default, but it is possible to create case-sensitive constants.
  • C. Yes, they are always case-sensitive.
  • D. No, they are always case-insensitive.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️
Reference:
http://php.net/manual/en/language.constants.php

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
KirillS
3 years, 7 months ago
Case insensitive in define() is deprecated since 7.3. Maybe that's why the correct answer is C. For PHP <7.3 the correct answer is A.
upvoted 1 times
...
[Removed]
4 years, 5 months ago
Correct answer is A
upvoted 1 times
...
pietrantonio
4 years, 5 months ago
A is correct, by default are case-sensitive, but with define you can create case-insensitive constants passing a third param
upvoted 2 times
...
randerccf
4 years, 6 months ago
Response A is the correct. https://www.php.net/manual/en/function.define
upvoted 3 times
...
youidir
4 years, 8 months ago
response B is correct
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...