Home » PHP » PHP Functions » Question
  1. Type Hinting was introduced in which version of PHP?
    1. PHP 5.3
    2. PHP 6
    3. PHP 4
    4. PHP 5
    5. None of these
Correct Option: D

Type hinting gives you the ability to force parameters to be objects of certain class or to be arrays. PHP 5 introduced this feature.



Your comments will be displayed only after manual approval.