diff options
Diffstat (limited to 'ext/intl/common/common_error.c')
-rw-r--r-- | ext/intl/common/common_error.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/intl/common/common_error.c b/ext/intl/common/common_error.c index 524bb94327..16933c587f 100644 --- a/ext/intl/common/common_error.c +++ b/ext/intl/common/common_error.c @@ -28,7 +28,7 @@ */ PHP_FUNCTION( intl_get_error_code ) { - RETURN_LONG( intl_error_get_code( NULL TSRMLS_CC ) ); + RETURN_LONG( intl_error_get_code( NULL ) ); } /* }}} */ @@ -37,7 +37,7 @@ PHP_FUNCTION( intl_get_error_code ) */ PHP_FUNCTION( intl_get_error_message ) { - RETURN_STR(intl_error_get_message( NULL TSRMLS_CC )); + RETURN_STR(intl_error_get_message( NULL )); } /* }}} */ @@ -51,11 +51,11 @@ PHP_FUNCTION( intl_is_failure ) zend_long err_code; /* Parse parameters. */ - if( zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "l", + if( zend_parse_parameters( ZEND_NUM_ARGS(), "l", &err_code ) == FAILURE ) { intl_error_set( NULL, U_ILLEGAL_ARGUMENT_ERROR, - "intl_is_failure: unable to parse input params", 0 TSRMLS_CC ); + "intl_is_failure: unable to parse input params", 0 ); RETURN_FALSE; } @@ -73,11 +73,11 @@ PHP_FUNCTION( intl_error_name ) zend_long err_code; /* Parse parameters. */ - if( zend_parse_parameters( ZEND_NUM_ARGS() TSRMLS_CC, "l", + if( zend_parse_parameters( ZEND_NUM_ARGS(), "l", &err_code ) == FAILURE ) { intl_error_set( NULL, U_ILLEGAL_ARGUMENT_ERROR, - "intl_error_name: unable to parse input params", 0 TSRMLS_CC ); + "intl_error_name: unable to parse input params", 0 ); RETURN_FALSE; } |