Discussion Forum : Functions
Question - Type Hinting was introduced in which version of PHP?
Options:
A .  PHP 4
B .  PHP 5
C .  PHP 5.3
D .  PHP 6
Answer: Option B
Type hinting gives you the ability to force parameters to be objects of certain class or to be arrays. PHP 5 introduced this feature.

Was this answer helpful ?
Next Question
Submit Your Solution hear:

Your email address will not be published. Required fields are marked *