graphicmist

Techno-bits and some graphical adventures of my life

PHP

Type Hinting in PHP

Since PHP 5 , php has started supporting type hinting like other OOP languages. Hence, you can enforce your functions to get an argument of particular object type. PHP will check if the particular argument is of that type, if not will raise an error. However it still doesn’t support[…]