exam questions

Exam 200-710 All Questions

View all questions & answers for the 200-710 exam

Exam 200-710 topic 2 question 2 discussion

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

What is a difference between the ?? operator and the ?: operator?

  • A. The ?? operator combines the ternary operator with isset()
  • B. The ?: operator combines the ternary operator with isset()
  • C. The ?: operator is only supported by PHP 7 onwards
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
Reference:
https://www.sitepoint.com/using-the-ternary-operator/

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
PaulShi
Highly Voted 4 years, 1 month ago
That is false. https://www.tutorialspoint.com/php7/php7_coalescing_operator.htm The real answer is A
upvoted 5 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago