3 ms·
Its been there a long time, I think since PHP 5. (Certainly, it was old in 2008, when I was working on PHP).
by pbiggar 15y ago
Its been there a long time, I think since PHP 5. (Certainly, it was old in 2008, when I was working on PHP).
- georgefox 15y agoYou're correct. Type hinting was introduced with PHP 5, which makes it about eight years old. http://php.net/manual/en/language.oop5.typehinting.php http://php.net/manual/en/language.oop5.typehinting.php