--TEST-- Bug #78239: Deprecation notice during string conversion converted to exception hangs --FILE-- getReturnType() ?: ""; ?> --EXPECTF-- Fatal error: Uncaught ErrorException: Function ReflectionType::__toString() is deprecated in %s:%d Stack trace: #0 %s(%d): handleError(%s) #1 {main} thrown in %s on line %d