. Fixed bug #80560 (Strings containing only a base prefix return 0 object).
(girgias)
+- Intl:
+ . Fixed bug #80644 (Missing resource causes subsequent get() calls to fail).
+ (Nikita)
+
- MySQLi:
. Fixed bug #67983 (mysqlnd with MYSQLI_OPT_INT_AND_FLOAT_NATIVE fails to
interpret bit columns). (Nikita)
char *pbuf;
ResourceBundle_object *rb;
- intl_error_reset( NULL );
rb = php_intl_resourcebundle_fetch_object(object);
+ intl_error_reset(NULL);
+ intl_error_reset(INTL_DATA_ERROR_P(rb));
if(Z_TYPE_P(offset) == IS_LONG) {
is_numeric = 1;
$t = ut_resourcebundle_get( $r, 'nonexisting' );
$str_res .= debug( $t );
+ // Make sure accessing existing after non-existing works.
+ $t = ut_resourcebundle_get( $r, 'teststring' );
+ $str_res .= debug( $t );
+
return $str_res;
}
include_once( 'ut_common.inc' );
testarray: string 3
NULL
2: Cannot load resource element 'nonexisting': U_MISSING_RESOURCE_ERROR
+Hello World!
+ 0: U_ZERO_ERROR