Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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