Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Zend 200-710 Exam - Topic 3 Question 109 Discussion

Which constant must be passed as the second argument to htmlentities() to convert single quotes (') to HTML entities?
C) ENT_QUOTES
A) TRUE
B) FALSE
D) ENT_NOQUOTES
E) ENT_COMPAT

Zend 200-710 Exam - Topic 3 Question 109 Discussion

Actual exam question for Zend's 200-710 exam
Question #: 109
Topic #: 3
[All 200-710 Questions]

Which constant must be passed as the second argument to htmlentities() to convert single quotes (') to HTML entities?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

0/2000 characters
Jaime
4 days ago
I thought ENT_COMPAT was the right one for some reason.
upvoted 0 times
...
Brandon
9 days ago
I always mix those up, but I think it's definitely ENT_QUOTES.
upvoted 0 times
...
Jamal
14 days ago
Wait, are you sure? I thought it was ENT_NOQUOTES.
upvoted 0 times
...
Johana
19 days ago
Totally agree with Roosevelt!
upvoted 0 times
...
Roosevelt
25 days ago
It's C) ENT_QUOTES for sure!
upvoted 0 times
...
Paris
30 days ago
I’m leaning towards ENT_COMPAT, but I could be mixing it up with another question about handling quotes.
upvoted 0 times
...
Aimee
1 month ago
I’m a bit confused. I remember there are different constants, but I can’t recall which one specifically handles single quotes.
upvoted 0 times
...
Malinda
1 month ago
I feel like I've seen a question like this before, and I think the answer was C) ENT_QUOTES.
upvoted 0 times
...
Milly
2 months ago
I think it might be ENT_QUOTES, but I'm not entirely sure. I remember something about quotes in HTML entities.
upvoted 0 times
...

Save Cancel