Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 245 lines (213 sloc) 8.29 kb
f7beb9f fix tag
foobar authored
1 $Id$
2f6cebb Added 5.1 upgrading notes.
Ilia Alshanetsky authored
2
77e1a1a Align section headings with the latest (5.4) migration on-line doc.
Christopher Jones authored
3 PHP X.Y UPGRADE NOTES
4
5 1. Backward Incompatible Changes
6 2. New Features
7 2. Changes in SAPI modules
8 3. Deprecated Functionality
9 4. Changed Functions
10 5. New Functions
11 6. New Classes and Interfaces
12 7. Removed Extensions
13 8. Other Changes to Extensions
14 9. New Global Constants
15 10. Changes to INI File Handling
16 11. Other Changes
84e3480 @rlerdorf Reset this document
rlerdorf authored
17
2f6cebb Added 5.1 upgrading notes.
Ilia Alshanetsky authored
18
84e3480 @rlerdorf Reset this document
rlerdorf authored
19 ========================================
77e1a1a Align section headings with the latest (5.4) migration on-line doc.
Christopher Jones authored
20 1. Backward Incompatible Changes
84e3480 @rlerdorf Reset this document
rlerdorf authored
21 ========================================
60835e3 @bjori Missing enhancements
bjori authored
22
37b462b @pierrejoye - notes about xp&2003 drop
pierrejoye authored
23 - Drop Windows XP and 2003 support. (Pierre)
626effc @smalyshev typo
smalyshev authored
24 - All internal case insensitivity handling for class, function and constant
bd340b7 @smalyshev add NEWS/UPGRADING
smalyshev authored
25 names is done according to ASCII rules, current locale settings are ignored.
d12f8d6 @TazeTSchnitzel Removed Logo GUIDs and replaced with Data URIs and div hidden with JS
TazeTSchnitzel authored
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
2c2eaa0 - Skeleton version taken directly from the scratchpad and tidied.
Steph Fox authored
29
77e1a1a Align section headings with the latest (5.4) migration on-line doc.
Christopher Jones authored
30 ========================================
31 2. New Features
32 ========================================
2c2eaa0 - Skeleton version taken directly from the scratchpad and tidied.
Steph Fox authored
33
35951d4 @laruence Support list in foreach
laruence authored
34 - Support list in foreach. (Laruence)
35 (wiki.php.net/rfc/foreachlist)
80d5ae3 @laruence Implemented 'finally' keywords for php
laruence authored
36 - Support finally keyword. (Laruence)
37 (wiki.php.net/rfc/finally)
565892d @laruence Implement const array/string dereference
laruence authored
38 - Support constant array/string dereferencing. (Laruence)
39 (https://wiki.php.net/rfc/constdereference)
ec061a9 @nikic Allow arbitrary expressions for empty()
nikic authored
40 - Add support for using empty() on the result of function calls and
41 other expressions. Thus it is now possible to write empty(getArray()),
42 for example. (https://wiki.php.net/rfc/empty_isset_exprs)
2c2eaa0 - Skeleton version taken directly from the scratchpad and tidied.
Steph Fox authored
43
77e1a1a Align section headings with the latest (5.4) migration on-line doc.
Christopher Jones authored
44 ========================================
45 2. Changes in SAPI modules
46 ========================================
2c2eaa0 - Skeleton version taken directly from the scratchpad and tidied.
Steph Fox authored
47
48
77e1a1a Align section headings with the latest (5.4) migration on-line doc.
Christopher Jones authored
49 ========================================
50 3. Deprecated Functionality
51 ========================================
2c2eaa0 - Skeleton version taken directly from the scratchpad and tidied.
Steph Fox authored
52
77e1a1a Align section headings with the latest (5.4) migration on-line doc.
Christopher Jones authored
53 - The preg_replace /e modifier is now deprecated. Use
54 preg_replace_callback instead.
55 (https://wiki.php.net/rfc/remove_preg_replace_eval_modifier)
2c2eaa0 - Skeleton version taken directly from the scratchpad and tidied.
Steph Fox authored
56
77e1a1a Align section headings with the latest (5.4) migration on-line doc.
Christopher Jones authored
57 ========================================
58 4. Changed Functions
59 ========================================
0fa4242 @bjori Missing items
bjori authored
60
4968fa6 Fixed bug #61038; "Z" and better behavior for unpack()
theanomaly.is@gmail.com authored
61 - pack()/unpack() had the following changes, which bring it more in line
62 with Perl's behavior:
63 - Implemented format character "Z": NUL-padded string
64 - "a" now does not remove trailing NUL characters on unpack() anymore
65 - "A" will now strip all trailing ASCII whitespace on unpack() (it used to
b187c35 @smalyshev Merge branch 'pull-request/54'
smalyshev authored
66 remove only trailing spaces).
f09961c @cataphract Updated UPGRADING with changes to ext/intl.
cataphract authored
67 - MessageFormatter::format() and related functions now accepted named arguments
68 and mixed numeric/named arguments in ICU 4.8+.
69 - MessageFormatter::format() and related functions now don't error out when
70 an insufficient argument count is provided. Instead, the placeholders will
71 remain unsubstituted.
ac33e40 @cataphract Keep date precision in MessageFormatter.
cataphract authored
72 - MessageFormatter::parse() and MessageFormat::format() (and their static
73 equivalents) now don't throw away better than second precision in the
74 arguments.
c22a29b @cataphract Updated UPGRADING for the changes in eb346ef
cataphract authored
75 - IntlDateFormatter::__construct and datefmt_create() now accept for the
76 $timezone argument time zone identifiers, IntlTimeZone objects, DateTimeZone
77 objects and NULL. It used to accept only time zone identifiers and NULL.
78 Invalid time zone identifiers are no longer accepted. Emptry strings are
79 no longer accepted.
80 - The default time zone used in IntlDateFormatter::__construct and
81 datefmt_create() (when the corresponding argument is not passed or NULL is
82 passed) is now the one given by date_default_timezone_get(), not the
83 default ICU time zone.
84 - The time zone passed to the IntlDateFormatter is ignored if it is NULL and if
85 the calendar passed is an IntlCalendar object -- in this case, the
86 IntlCalendar's time zone will be used instead. Otherwise, the time zone
87 specified in the $timezone argument is used instead. This does not affect
88 old code, as IntlCalendar was introduced in this version.
89 - IntlDateFormatter::__construct and datefmt_create() now accept for the
90 $calendar argument also IntlCalendar objects.
91 - IntlDateFormatter::getCalendar() and datefmt_get_calendar() return false
92 if the IntlDateFormatter was set up with an IntlCalendar instead of the
93 constants IntlDateFormatter::GREGORIAN/TRADITIONAL. IntlCalendar did not
94 exist before this version.
95 - IntlDateFormatter::setCalendar() and datefmt_set_calendar() now also accept
96 an IntlCalendar object, in which case its time zone is taken. Passing a
97 constant is still allowed, and still keeps the time zone.
98 - IntlDateFormatter::setTimeZoneID() and datefmt_set_timezone_id() are
99 deprecated. Use IntlDateFormatter::setTimeZone() or datefmt_set_timezone()
100 instead.
4203e0a @cataphract Reflect changes made in merge 99e48d3
cataphract authored
101 - IntlDateFormatter::format() and datefmt_format() now also accept an
102 IntlCalendar object for formatting.
fc26aa7 @nikic Adjust UPGRADING/NEWS for additional mcrypt deprecations
nikic authored
103 - mcrypt_ecb(), mcrypt_cbc(), mcrypt_cfb() and mcrypt_ofb() now throw
104 E_DEPRECATED. Their use was already previously discouraged in the docs,
105 but that predated the existence of E_DEPRECATED.
d12f8d6 @TazeTSchnitzel Removed Logo GUIDs and replaced with Data URIs and div hidden with JS
TazeTSchnitzel authored
106 - php_logo_guid(), php_egg_logo_guid(), php_real_logo_guid() and
107 zend_logo_guid() have been removed
0fa4242 @bjori Missing items
bjori authored
108
77e1a1a Align section headings with the latest (5.4) migration on-line doc.
Christopher Jones authored
109 ========================================
110 5. New Functions
111 ========================================
2c2eaa0 - Skeleton version taken directly from the scratchpad and tidied.
Steph Fox authored
112
0eaa6e9 @dsp UPGRADING entry for boolval()
dsp authored
113 - Core:
114 - boolval()
115
bf01548 @ircmaxell Add new function hash_pbkdf2() to UGRAPDING doc
ircmaxell authored
116 - Hash:
117 - hash_pbkdf2()
118
0e8d928 @cataphract Update UPGRADING with changes.
cataphract authored
119 - Intl:
4203e0a @cataphract Reflect changes made in merge 99e48d3
cataphract authored
120 - datefmt_format_object()
c22a29b @cataphract Updated UPGRADING for the changes in eb346ef
cataphract authored
121 - datefmt_get_calendar_object()
122 - datefmt_get_timezone()
123 - datefmt_set_timezone()
124 - datefmt_get_calendar_object()
0e8d928 @cataphract Update UPGRADING with changes.
cataphract authored
125 - intlcal_create_instance()
126 - intlcal_get_keyword_values_for_locale()
127 - intlcal_get_now()
128 - intlcal_get_available_locales()
129 - intlcal_get()
130 - intlcal_get_time()
131 - intlcal_set_time()
132 - intlcal_add()
133 - intlcal_set_time_zone()
134 - intlcal_after()
135 - intlcal_before()
136 - intlcal_set()
137 - intlcal_roll()
138 - intlcal_clear()
139 - intlcal_field_difference()
140 - intlcal_get_actual_maximum()
141 - intlcal_get_actual_minimum()
142 - intlcal_get_day_of_week_type()
143 - intlcal_get_first_day_of_week()
144 - intlcal_get_greatest_minimum()
145 - intlcal_get_least_maximum()
146 - intlcal_get_locale()
147 - intlcal_get_maximum()
148 - intlcal_get_minimal_days_in_first_week()
149 - intlcal_get_minimum()
150 - intlcal_get_time_zone()
151 - intlcal_get_type()
152 - intlcal_get_weekend_transition()
153 - intlcal_in_daylight_time()
154 - intlcal_is_equivalent_to()
155 - intlcal_is_lenient()
156 - intlcal_is_set()
157 - intlcal_is_weekend()
158 - intlcal_set_first_day_of_week()
159 - intlcal_set_lenient()
160 - intlcal_equals()
161 - intlcal_get_repeated_wall_time_option()
162 - intlcal_get_skipped_wall_time_option()
163 - intlcal_set_repeated_wall_time_option()
164 - intlcal_set_skipped_wall_time_option()
6ea4d0d @cataphract Note recent changes to ext/intl in UPGRADING
cataphract authored
165 - intlcal_from_date_time()
166 - intlcal_to_date_time()
0e8d928 @cataphract Update UPGRADING with changes.
cataphract authored
167 - intlcal_get_error_code()
168 - intlcal_get_error_message()
169 - intlgregcal_create_instance()
170 - intlgregcal_set_gregorian_change()
171 - intlgregcal_get_gregorian_change()
172 - intlgregcal_is_leap_year()
173 - intltz_create_time_zone()
174 - intltz_create_default()
175 - intltz_get_id()
176 - intltz_get_gmt()
177 - intltz_get_unknown()
178 - intltz_create_enumeration()
179 - intltz_count_equivalent_ids()
180 - intltz_create_time_zone_id_enumeration()
181 - intltz_get_canonical_id()
182 - intltz_get_region()
183 - intltz_get_tz_data_version()
184 - intltz_get_equivalent_id()
185 - intltz_use_daylight_time()
186 - intltz_get_offset()
187 - intltz_get_raw_offset()
188 - intltz_has_same_rules()
189 - intltz_get_display_name()
190 - intltz_get_dst_savings()
6ea4d0d @cataphract Note recent changes to ext/intl in UPGRADING
cataphract authored
191 - intltz_from_date_time_zone()
192 - intltz_to_date_time_zone()
0e8d928 @cataphract Update UPGRADING with changes.
cataphract authored
193 - intltz_get_error_code()
194 - intltz_get_error_message()
195
4203e0a @cataphract Reflect changes made in merge 99e48d3
cataphract authored
196 - IntlDateFormatter::formatObject()
c22a29b @cataphract Updated UPGRADING for the changes in eb346ef
cataphract authored
197 - IntlDateFormatter::getCalendarObject()
198 - IntlDateFormatter::getTimeZone()
199 - IntlDateFormatter::setTimeZone()
200
6c891f3 @cataphract Put new function in correct section.
cataphract authored
201 - SPL:
202 - SplFixedArray::__wakeup()
1d5e508 @cataphract - Added libxml_set_external_entity_loader().
cataphract authored
203
77e1a1a Align section headings with the latest (5.4) migration on-line doc.
Christopher Jones authored
204 ========================================
205 6. New Classes and Interfaces
206 ========================================
2c2eaa0 - Skeleton version taken directly from the scratchpad and tidied.
Steph Fox authored
207
0e8d928 @cataphract Update UPGRADING with changes.
cataphract authored
208 - Intl:
209 - IntlCalendar
210 - IntlGregorianCalendar
211 - IntlTimeZone
794d226 @cataphract Update UPGRADING given 7596445
cataphract authored
212 - IntlBreakIterator
213 - IntlRuleBasedBreakIterator
214 - IntlCodePointBreakIterator
2c2eaa0 - Skeleton version taken directly from the scratchpad and tidied.
Steph Fox authored
215
77e1a1a Align section headings with the latest (5.4) migration on-line doc.
Christopher Jones authored
216 ========================================
217 7. Removed Extensions
218 ========================================
2c2eaa0 - Skeleton version taken directly from the scratchpad and tidied.
Steph Fox authored
219
220
77e1a1a Align section headings with the latest (5.4) migration on-line doc.
Christopher Jones authored
221 ========================================
222 8. Other Changes to Extensions
223 ========================================
37272e4 @LawnGnome Add a __wakeup() method to SplFixedArray, thereby fixing serialising an
LawnGnome authored
224
6ea4d0d @cataphract Note recent changes to ext/intl in UPGRADING
cataphract authored
225 - Intl:
226 - This extension now requires ICU 4.0+.
227 - Added intl.use_exceptions INI directive, which controls what happens when
228 global errors are set together with intl.error_level.
2c2eaa0 - Skeleton version taken directly from the scratchpad and tidied.
Steph Fox authored
229
77e1a1a Align section headings with the latest (5.4) migration on-line doc.
Christopher Jones authored
230 ========================================
231 9. New Global Constants
232 ========================================
84e3480 @rlerdorf Reset this document
rlerdorf authored
233
234
77e1a1a Align section headings with the latest (5.4) migration on-line doc.
Christopher Jones authored
235 ========================================
236 10. Changes to INI File Handling
237 ========================================
100228a @pierrejoye - use TSRMLS_CC instead of TSRMLS_FETCH in virtual_file_ex
pierrejoye authored
238
011e29a @pierrejoye - upgrading entry for binary number format
pierrejoye authored
239
77e1a1a Align section headings with the latest (5.4) migration on-line doc.
Christopher Jones authored
240 ========================================
241 11. Other Changes
242 ========================================
d12f8d6 @TazeTSchnitzel Removed Logo GUIDs and replaced with Data URIs and div hidden with JS
TazeTSchnitzel authored
243
244 - Logo GUIDs will no longer work
Something went wrong with that request. Please try again.