What are type errors in PHP 7?
In a new post on his blog Thijs Feryn explains type errors and strict types, both introduced in PHP 7.
PHP 7 has a concept called Type Errors. These errors are thrown on a type mismatch when interacting with functions. They can be caught just like exceptions. I created a video that explains the situation. This blog post goes into more detail and has some code examples.