Login | Packages | Support | Bugs 

Top Level :: Internationalization :: intl

intl 3.0.0a2

Package Information
Summary Internationalization extension
Maintainers Stanislav Malyshev <stas@php.net> (lead) [details]
Kirti Velankar (developer) [details]
Gustavo Lopes <cataphract@php.net> (lead) [details]
License PHP License
Description 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; binaries are nonetheless provided here. They may be preferrable to those bundled with PHP 5.5 due to being compiled against a more recent version of ICU.

Windows binaries (VC 9, x86, 3.0.0):
The binaries depend on the ICU libraries (version 51.2 for 3.0.0), which must be available to PHP.

This extension is compatible with PHP 5.2; however, no Windows binaries will be provided for that PHP version.
Homepage http://www.icu-project.org/
Release notes
Version 3.0.0a2
(alpha)
- 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.

[ Latest Tarball ] [ Changelog ] [ View Statistics ]
[ Browse Source[ Package Bugs ][ View Documentation ]
[ Report new bug ]

Dependencies for release 3.0.0a2
PHP Version: PHP 5.2.4 or newer
PEAR Package: PEAR 1.4.8 or newer
PRIVACY POLICY | CREDITS
Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Tue Oct 15 08:05:03 2013 UTC
Bandwidth and hardware provided by: pair Networks