Internationalization extension
pecl/intl is not mainained anymore. Use the version bundled with PHP.
The Internationalization extension exposes functionality of the ICU library to PHP.
This extension has been bundled with PHP since version 5.3. This PECL version backports improvements made in the development version of PHP to PHP 5.2-5.4.
Version 3.0 is in sync with PHP 5.5.
License: PHP License
This package is not maintained anymore and has been superseded by . Package has moved to channel http://php.net/manual/en/book.intl.php
Version | Release | Download |
3.0.0 | 2013-06-02 | intl-3.0.0.tgz |
3.0.0b1 | 2012-12-26 | intl-3.0.0b1.tgz |
3.0.0a2 | 2012-07-24 | intl-3.0.0a2.tgz |
3.0.0a1 | 2012-04-07 | intl-3.0.0a1.tgz |
2.0.1 | 2012-07-24 | intl-2.0.1.tgz |
Version | Message |
3.0.0 |
- Fixed build on PHP 5.5+. - Bring error reporting in converter more in line with the rest. - Fix parameter parsing in Uconverter::convert() for PHP 5.5. - Fix intlcal_get_time_zone() not setting local error. - Fix arginfo for BreakIterator::getLocale(). - Fixed compiler warnings. |
3.0.0b1 |
- Add UConverter class (ICU's UConverter API). See RFC at http://wiki.php.net/rfc/uconverter - Fixed defective cloning of subclassed intl classes. See also bug #62915. - Allow Spoofchecker to be registered on ICU versions with .1 minor numbers like ICU 49.1. - Fix SPOOFCHECKER_METHOD_FETCH_OBJECT definition. - Fix handling of several uinitialized intl objects. - Added the intl tests extracted from Symfony. - Fixed several tests. |
3.0.0a2 |
- Added IntlBreakIterator, IntlRuleBasedBreakiterator and IntlCodePointBreakIterator. - Added IntlDateFormatter::formatObject(). - Implememented FR #61871: named Argument support for MessageFormatter. - Accepted numeric strings for dates (when a timestamp is expected). - Better error messages in MessageFormatter::format(). - Number of arguments in MessageFormatter::format() is not checked anymore. - Kept subsecond date precision in MessageFormatter. - Changed ResourceBundle constructor behavior: null is now accepted for two first (mandatory arguments). - Accept DateTimeZone where time zones are expected. - Added IntlCalendar::fromDateTime(). - Added IntlTimeZone::fromDateTimeZone() and ::toDateTimeZone. - MessageFormatter accepts IntlCalendar arguments. - Added IntlCalendar::toDateTime(). - Made IntlDateFormatter constructor accept NULL, IntlTimeZone and DateTimeZone objects in the timezone argument. - When NULL is passed to IntlDateFormatter, the time zone specified in date.timezone is used instead of the ICU default, except if an IntlCalendar is also passed, in which its time zone is used instead. - The IntlDateFormatter constructor now accepts for the $calendar argument also an IntlCalendar. In this case, IntlDateFormatter::getCalendar() will return false. - Added IntlDateFormatter::getCalendarObject(), which always returns the IntlCalendar object that backs the DateFormat, even if a constant was passed to the constructor, i.e., if an IntlCalendar was not passed to the constructor. - Added IntlDateFormatter::setTimeZone() and IntlDateFormatter::getTimeZone(). - Do not fetch default locale on minit or rinit - Deprecated IntlDateFormatter::setTimeZoneId() and made it an alias for IntlDateFormatter::setTimeZone(), as the new ::setTimeZone() also accepts plain identifiers, besides other types. - Fixed bug #55610: ResourceBundle not marked Traversable. - Fixed bug #58756: IntlDateFormatter and MessageFormatter do not respect date.timezone INI setting w.r.t MessageFormatter (partial fix) - Fixed bug #59597: NumberFormatter::parse() with TYPE_INT64 results in a 32 bit integer. - Fixed bug #60785: memory leak in IntlDateFormatter constructor. - Fixed bug #61829: memory leak when calling MessageFormatter's constructor twice. - Fixed bug #62017: datefmt_create with incorrectly encoded timezone leaks pattern. - Fixed bug #62070: Collator::getSortKey() was returning an unterminated string due the length given to RETURN_STRINGL being off by one. - Fixed bug #62081: constructor of IntlDateFormatter would leak if called twice. - Fixed bug #62082: buffer overflow in internal function get_icu_disp_value_src_php(). - Fixed bug #62083: memory leak in grapheme_extract(). - Fixed bug #62564/#62565: call to object_properties_init() missing. - Fixed problem in IntlCalendar debug handler. - Fixed write in constant memory. - Added private constructor to IntlTimeZone. - Fixed IntlDateFormatter::setCalendar() with a constant passed. |
3.0.0a1 |
- Added classes IntlCalendar, IntlGregorianCalendar and IntlTimeZone. - Added the ability for the intl exception to throw exceptions when a global error is set. |
2.0.1 |
- Changed ResourceBundle constructor behavior: null is now accepted for two first (mandatory arguments). - Optimization in ext/intl/msgformat: don't transform the string to make it apostrophe friendly in ICU 4.8+. - Fixed bug #55610: ResourceBundle not marked Traversable. - Fixed bug #59597: NumberFormatter::parse() with TYPE_INT64 results in a 32 bit integer. - Fixed bug #60785: memory leak in IntlDateFormatter constructor. - Fixed bug #61829: memory leak when calling MessageFormatter's constructor twice. - Fixed bug #62017: datefmt_create with incorrectly encoded timezone leaks pattern. - Fixed bug #62070: Collator::getSortKey() was returning an unterminated string due the length given to RETURN_STRINGL being off by one. - Fixed bug #62081: constructor of IntlDateFormatter would leak if called twice. - Fixed bug #62082: buffer overflow in internal function get_icu_disp_value_src_php(). - Fixed bug #62083: memory leak in grapheme_extract(). - Fixed bug #62564/#62565: call to object_properties_init() missing. |