(PHP 7)
TypeError is thrown when strict typing is enabled and an invalid argument is given to a function.