@@ -120,7 +120,7 @@ U_CFUNC PHP_METHOD(IntlNumberRangeFormatter, createFromSkeleton)
120120 UnlocalizedNumberFormatter nf = NumberFormatter::forSkeleton (skeleton_ustr, status);
121121
122122 if (U_FAILURE (status)) {
123- intl_error_set (NULL , status, " Failed to create the number skeleton" , 0 );
123+ intl_error_set (NULL , status, " Failed to create the number skeleton" );
124124 zend_throw_exception (IntlException_ce_ptr, " Failed to create the number skeleton" , 0 );
125125 RETURN_THROWS ();
126126 }
@@ -161,15 +161,15 @@ U_CFUNC PHP_METHOD(IntlNumberRangeFormatter, format)
161161 UnicodeString result = RANGEFORMATTER_OBJECT (obj)->formatFormattableRange (start_formattable, end_formattable, error).toString (error);
162162
163163 if (U_FAILURE (error)) {
164- intl_error_set (NULL , error, " Failed to format number range" , 0 );
164+ intl_error_set (NULL , error, " Failed to format number range" );
165165 zend_throw_exception (IntlException_ce_ptr, " Failed to format number range" , 0 );
166166 RETURN_THROWS ();
167167 }
168168
169169 zend_string *ret = intl_charFromString (result, &error);
170170
171171 if (U_FAILURE (error)) {
172- intl_error_set (NULL , error, " Failed to convert result to UTF-8" , 0 );
172+ intl_error_set (NULL , error, " Failed to convert result to UTF-8" );
173173 zend_throw_exception (IntlException_ce_ptr, " Failed to convert result to UTF-8" , 0 );
174174 RETURN_THROWS ();
175175 }
0 commit comments