In the code below I call a function (it happens to be a constructor) in which I have type hinting. When I run the code I get the following error:
Catchable fatal
Type hinting can only be used for object data types (or arrays since 5.1), not for the basic types like string, integer, float, boolean