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 Exam 200-710 Topic 1 Question 82 Discussion

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

Type hinting in PHP allows the identification of the following variable types: (Choose 2)

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Barabara
5 days ago
Wait, I thought type hinting was only for static languages like Java. Is PHP actually getting that fancy now? Wow, I'm getting old...
upvoted 0 times
...
Maybelle
11 days ago
I'm pretty sure the answer is just D. Type hinting is all about specifying custom class and interface types, not the basic data types.
upvoted 0 times
...
Graciela
12 days ago
I'm not sure about D) Any class or interface type. I think it might be E) All of the above.
upvoted 0 times
...
Huey
12 days ago
I think the correct answer is D and E. Type hinting allows you to specify not just primitive types like strings and integers, but also custom classes and interfaces.
upvoted 0 times
...
Vinnie
14 days ago
I agree with Colette. String and Any class or interface type make sense for type hinting.
upvoted 0 times
...
Colette
16 days ago
I think it's A) String and D) Any class or interface type.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77