By piccoloprincipe
via phpeasy.co.uk
Submitted: Aug 03 2012 / 03:11
Type hinting allows you to tell a function which data type to accept for its arguments. When you call a function, if a type hint is present, the argument passed will be checked to make sure it is of the type specified.
Add your comment