--TEST-- ResourceBundle constructor bundle accepts NULL for first two arguments --INI-- date.timezone=Atlantic/Azores --EXTENSIONS-- intl --SKIPIF-- = 0) die('skip for ICU < 72.1'); ?> --FILE-- get('calendar')->get('gregorian')->get('DateTimePatterns')->get(0); var_dump($c); ini_set('intl.default_locale', 'pt_PT'); $r = new ResourceBundle(NULL, NULL); $c = $r->get('calendar')->get('gregorian')->get('DateTimePatterns')->get(0); var_dump($c); ?> --EXPECT-- string(14) "h:mm:ss a zzzz" string(13) "HH:mm:ss zzzz"