diff options
Diffstat (limited to 'ext/intl/collator/collator_error.c')
-rw-r--r-- | ext/intl/collator/collator_error.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/intl/collator/collator_error.c b/ext/intl/collator/collator_error.c index fb8886ef64..5d30b8c655 100644 --- a/ext/intl/collator/collator_error.c +++ b/ext/intl/collator/collator_error.c @@ -33,11 +33,11 @@ PHP_FUNCTION( collator_get_error_code ) COLLATOR_METHOD_INIT_VARS /* Parse parameters. */ - if( zend_parse_method_parameters( ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "O", + if( zend_parse_method_parameters( ZEND_NUM_ARGS(), getThis(), "O", &object, Collator_ce_ptr ) == FAILURE ) { intl_error_set( NULL, U_ILLEGAL_ARGUMENT_ERROR, - "collator_get_error_code: unable to parse input params", 0 TSRMLS_CC ); + "collator_get_error_code: unable to parse input params", 0 ); RETURN_FALSE; } @@ -64,11 +64,11 @@ PHP_FUNCTION( collator_get_error_message ) COLLATOR_METHOD_INIT_VARS /* Parse parameters. */ - if( zend_parse_method_parameters( ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "O", + if( zend_parse_method_parameters( ZEND_NUM_ARGS(), getThis(), "O", &object, Collator_ce_ptr ) == FAILURE ) { intl_error_set( NULL, U_ILLEGAL_ARGUMENT_ERROR, - "collator_get_error_message: unable to parse input params", 0 TSRMLS_CC ); + "collator_get_error_message: unable to parse input params", 0 ); RETURN_FALSE; } @@ -79,7 +79,7 @@ PHP_FUNCTION( collator_get_error_message ) RETURN_FALSE; /* Return last error message. */ - message = intl_error_get_message( COLLATOR_ERROR_P( co ) TSRMLS_CC ); + message = intl_error_get_message( COLLATOR_ERROR_P( co ) ); RETURN_STR(message); } /* }}} */ |