From: Aaron Piotrowski Date: Thu, 30 Jun 2016 17:01:29 +0000 (-0500) Subject: Switch failure to register class back to E_ERROR X-Git-Tag: php-7.1.0alpha3~25^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e9832b5ab1d986ddd3ea0705bcbc5a391dc16614;p=php Switch failure to register class back to E_ERROR --- diff --git a/ext/intl/normalizer/normalizer_class.c b/ext/intl/normalizer/normalizer_class.c index 92e4402180..93a5624663 100644 --- a/ext/intl/normalizer/normalizer_class.c +++ b/ext/intl/normalizer/normalizer_class.c @@ -63,7 +63,7 @@ void normalizer_register_Normalizer_class( void ) /* Declare 'Normalizer' class properties. */ if( !Normalizer_ce_ptr ) { - zend_throw_error( NULL, + zend_error( E_ERROR, "Normalizer: attempt to create properties " "on a non-registered class." ); return;