@@ -21,13 +21,23 @@ PHP X.Y UPGRADE NOTES
2121========================================
2222
2323- Drop Windows XP and 2003 support. (Pierre)
24+ - All internal case insensitivity handling for class, function and constant
25+ names is done according to ASCII rules, current locale settings are ignored.
26+ - php_logo_guid(), php_egg_logo_guid(), php_real_logo_guid() and
27+ zend_logo_guid() have been removed
28+ - Removal of Logo GUIDs
2429
2530========================================
26312. New Features
2732========================================
2833
34+ - Support finally keyword. (Laruence)
35+ (wiki.php.net/rfc/finally)
2936- Support constant array/string dereferencing. (Laruence)
3037 (https://wiki.php.net/rfc/constdereference)
38+ - Add support for using empty() on the result of function calls and
39+ other expressions. Thus it is now possible to write empty(getArray()),
40+ for example. (https://wiki.php.net/rfc/empty_isset_exprs)
3141
3242========================================
33432. Changes in SAPI modules
@@ -51,13 +61,63 @@ PHP X.Y UPGRADE NOTES
5161 - Implemented format character "Z": NUL-padded string
5262 - "a" now does not remove trailing NUL characters on unpack() anymore
5363 - "A" will now strip all trailing ASCII whitespace on unpack() (it used to
54- remove only trailing spaces.
64+ remove only trailing spaces).
65+ - MessageFormatter::format() and related functions now accepted named arguments
66+ and mixed numeric/named arguments in ICU 4.8+.
67+ - MessageFormatter::format() and related functions now don't error out when
68+ an insufficient argument count is provided. Instead, the placeholders will
69+ remain unsubstituted.
70+ - MessageFormatter::parse() and MessageFormat::format() (and their static
71+ equivalents) now don't throw away better than second precision in the
72+ arguments.
73+ - IntlDateFormatter::__construct and datefmt_create() now accept for the
74+ $timezone argument time zone identifiers, IntlTimeZone objects, DateTimeZone
75+ objects and NULL. It used to accept only time zone identifiers and NULL.
76+ Invalid time zone identifiers are no longer accepted. Emptry strings are
77+ no longer accepted.
78+ - The default time zone used in IntlDateFormatter::__construct and
79+ datefmt_create() (when the corresponding argument is not passed or NULL is
80+ passed) is now the one given by date_default_timezone_get(), not the
81+ default ICU time zone.
82+ - The time zone passed to the IntlDateFormatter is ignored if it is NULL and if
83+ the calendar passed is an IntlCalendar object -- in this case, the
84+ IntlCalendar's time zone will be used instead. Otherwise, the time zone
85+ specified in the $timezone argument is used instead. This does not affect
86+ old code, as IntlCalendar was introduced in this version.
87+ - IntlDateFormatter::__construct and datefmt_create() now accept for the
88+ $calendar argument also IntlCalendar objects.
89+ - IntlDateFormatter::getCalendar() and datefmt_get_calendar() return false
90+ if the IntlDateFormatter was set up with an IntlCalendar instead of the
91+ constants IntlDateFormatter::GREGORIAN/TRADITIONAL. IntlCalendar did not
92+ exist before this version.
93+ - IntlDateFormatter::setCalendar() and datefmt_set_calendar() now also accept
94+ an IntlCalendar object, in which case its time zone is taken. Passing a
95+ constant is still allowed, and still keeps the time zone.
96+ - IntlDateFormatter::setTimeZoneID() and datefmt_set_timezone_id() are
97+ deprecated. Use IntlDateFormatter::setTimeZone() or datefmt_set_timezone()
98+ instead.
99+ - IntlDateFormatter::format() and datefmt_format() now also accept an
100+ IntlCalendar object for formatting.
101+ - Deprecated mcrypt_ecb() made to produce E_DEPRECATED.
102+ - php_logo_guid(), php_egg_logo_guid(), php_real_logo_guid() and
103+ zend_logo_guid() have been removed
55104
56105========================================
571065. New Functions
58107========================================
59108
109+ - Core:
110+ - boolval()
111+
112+ - Hash:
113+ - hash_pbkdf2()
114+
60115- Intl:
116+ - datefmt_format_object()
117+ - datefmt_get_calendar_object()
118+ - datefmt_get_timezone()
119+ - datefmt_set_timezone()
120+ - datefmt_get_calendar_object()
61121 - intlcal_create_instance()
62122 - intlcal_get_keyword_values_for_locale()
63123 - intlcal_get_now()
@@ -98,6 +158,8 @@ PHP X.Y UPGRADE NOTES
98158 - intlcal_get_skipped_wall_time_option()
99159 - intlcal_set_repeated_wall_time_option()
100160 - intlcal_set_skipped_wall_time_option()
161+ - intlcal_from_date_time()
162+ - intlcal_to_date_time()
101163 - intlcal_get_error_code()
102164 - intlcal_get_error_message()
103165 - intlgregcal_create_instance()
@@ -122,9 +184,16 @@ PHP X.Y UPGRADE NOTES
122184 - intltz_has_same_rules()
123185 - intltz_get_display_name()
124186 - intltz_get_dst_savings()
187+ - intltz_from_date_time_zone()
188+ - intltz_to_date_time_zone()
125189 - intltz_get_error_code()
126190 - intltz_get_error_message()
127191
192+ - IntlDateFormatter::formatObject()
193+ - IntlDateFormatter::getCalendarObject()
194+ - IntlDateFormatter::getTimeZone()
195+ - IntlDateFormatter::setTimeZone()
196+
128197- SPL:
129198 - SplFixedArray::__wakeup()
130199
@@ -136,6 +205,9 @@ PHP X.Y UPGRADE NOTES
136205 - IntlCalendar
137206 - IntlGregorianCalendar
138207 - IntlTimeZone
208+ - IntlBreakIterator
209+ - IntlRuleBasedBreakIterator
210+ - IntlCodePointBreakIterator
139211
140212========================================
1412137. Removed Extensions
@@ -146,6 +218,10 @@ PHP X.Y UPGRADE NOTES
1462188. Other Changes to Extensions
147219========================================
148220
221+ - Intl:
222+ - This extension now requires ICU 4.0+.
223+ - Added intl.use_exceptions INI directive, which controls what happens when
224+ global errors are set together with intl.error_level.
149225
150226========================================
1512279. New Global Constants
@@ -160,3 +236,5 @@ PHP X.Y UPGRADE NOTES
160236========================================
16123711. Other Changes
162238========================================
239+
240+ - Logo GUIDs will no longer work
0 commit comments