com php-src: Switch failure to register class back to E_ERROR: ext/intl/normalizer/normalizer_class.c
| From: | Aaron Piotrowski | Date: | Thu, 30 Jun 2016 17:01:44 +0000 |
| Subject: | com php-src: Switch failure to register class back to E_ERROR: ext/intl/normalizer/normalizer_class.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-92773@lists.php.net to get a copy of this message | ||
Commit: e9832b5ab1d986ddd3ea0705bcbc5a391dc16614
Author: Aaron Piotrowski <aaron@trowski.com> Thu, 30 Jun 2016 12:01:29 -0500
Parents: 9638e45d2f4cf0bb63e5189fccacbd624cba37be
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e9832b5ab1d986ddd3ea0705bcbc5a391dc16614
Log:
Switch failure to register class back to E_ERROR
Changed paths:
M ext/intl/normalizer/normalizer_class.c
Diff:
diff --git a/ext/intl/normalizer/normalizer_class.c b/ext/intl/normalizer/normalizer_class.c
index 92e4402..93a5624 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;