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

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

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 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]
3 years, 10 months ago
Correct answer is A
upvoted 1 times
...
pietrantonio
3 years, 10 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
3 years, 11 months ago
Response A is the correct. https://www.php.net/manual/en/function.define
upvoted 3 times
...
youidir
4 years, 1 month 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 ...