1--TEST-- 2ResourceBundle constructor bundle accepts NULL for first two arguments 3--INI-- 4date.timezone=Atlantic/Azores 5--EXTENSIONS-- 6intl 7--SKIPIF-- 8<?php if (version_compare(INTL_ICU_VERSION, '72.1') >= 0) die('skip for ICU < 72.1'); ?> 9--FILE-- 10<?php 11ini_set("intl.error_level", E_WARNING); 12 13$r = new ResourceBundle('en_US', NULL); 14$c = $r->get('calendar')->get('gregorian')->get('DateTimePatterns')->get(0); 15var_dump($c); 16 17ini_set('intl.default_locale', 'pt_PT'); 18$r = new ResourceBundle(NULL, NULL); 19$c = $r->get('calendar')->get('gregorian')->get('DateTimePatterns')->get(0); 20var_dump($c); 21?> 22--EXPECT-- 23string(14) "h:mm:ss a zzzz" 24string(13) "HH:mm:ss zzzz" 25