diff options
Diffstat (limited to 'ext/intl/collator/collator_locale.c')
-rw-r--r-- | ext/intl/collator/collator_locale.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/intl/collator/collator_locale.c b/ext/intl/collator/collator_locale.c index 76f154bb7c..8e0b32650a 100644 --- a/ext/intl/collator/collator_locale.c +++ b/ext/intl/collator/collator_locale.c @@ -39,11 +39,11 @@ PHP_FUNCTION( collator_get_locale ) COLLATOR_METHOD_INIT_VARS /* Parse parameters. */ - if( zend_parse_method_parameters( ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Ol", + if( zend_parse_method_parameters( ZEND_NUM_ARGS(), getThis(), "Ol", &object, Collator_ce_ptr, &type ) == FAILURE ) { intl_error_set( NULL, U_ILLEGAL_ARGUMENT_ERROR, - "collator_get_locale: unable to parse input params", 0 TSRMLS_CC ); + "collator_get_locale: unable to parse input params", 0 ); RETURN_FALSE; } @@ -52,10 +52,10 @@ PHP_FUNCTION( collator_get_locale ) COLLATOR_METHOD_FETCH_OBJECT; if (!co || !co->ucoll) { - intl_error_set_code( NULL, COLLATOR_ERROR_CODE( co ) TSRMLS_CC ); + intl_error_set_code( NULL, COLLATOR_ERROR_CODE( co ) ); intl_errors_set_custom_msg( COLLATOR_ERROR_P( co ), - "Object not initialized", 0 TSRMLS_CC ); - php_error_docref(NULL TSRMLS_CC, E_RECOVERABLE_ERROR, "Object not initialized"); + "Object not initialized", 0 ); + php_error_docref(NULL, E_RECOVERABLE_ERROR, "Object not initialized"); RETURN_FALSE; } |