Type hinting and exceptions
Posted: Thu Jan 24, 2008 6:28 pm
I can't seem to make this work. When a type-hinting error is generated inside a try-catch block, the exception is not caught. Instead a E_RECOVERABLE_ERROR is generated. PHP 5.2.3.php manual wrote:Failing to satisfy the type hint results in a catchable fatal error.
Ta