summaryrefslogtreecommitdiff
path: root/UPGRADING
diff options
context:
space:
mode:
authorAdam Harvey <aharvey@php.net>2012-11-16 04:33:17 +0000
committerAdam Harvey <aharvey@php.net>2012-11-18 07:21:04 +0000
commitab4c270ccf71060f98b209852f2b73f2c134900d (patch)
tree3b1e550dd94eea8cefede5fdcff1f2f0da455110 /UPGRADING
parent8c97c79d77f968318113a99a3c560de4366a2643 (diff)
downloadphp-git-ab4c270ccf71060f98b209852f2b73f2c134900d.tar.gz
Move the deprecated functions up to the Deprecated Functionality section so
they're more visible.
Diffstat (limited to 'UPGRADING')
-rwxr-xr-xUPGRADING12
1 files changed, 6 insertions, 6 deletions
diff --git a/UPGRADING b/UPGRADING
index e6362becf7..c0f1f9bcf9 100755
--- a/UPGRADING
+++ b/UPGRADING
@@ -56,6 +56,12 @@ PHP X.Y UPGRADE NOTES
- The preg_replace /e modifier is now deprecated. Use
preg_replace_callback instead.
(https://wiki.php.net/rfc/remove_preg_replace_eval_modifier)
+- IntlDateFormatter::setTimeZoneID() and datefmt_set_timezone_id() are
+ deprecated. Use IntlDateFormatter::setTimeZone() or datefmt_set_timezone()
+ instead.
+- mcrypt_ecb(), mcrypt_cbc(), mcrypt_cfb() and mcrypt_ofb() now throw
+ E_DEPRECATED. Their use was already previously discouraged in the docs,
+ but that predated the existence of E_DEPRECATED.
========================================
4. Changed Functions
@@ -98,14 +104,8 @@ PHP X.Y UPGRADE NOTES
- IntlDateFormatter::setCalendar() and datefmt_set_calendar() now also accept
an IntlCalendar object, in which case its time zone is taken. Passing a
constant is still allowed, and still keeps the time zone.
-- IntlDateFormatter::setTimeZoneID() and datefmt_set_timezone_id() are
- deprecated. Use IntlDateFormatter::setTimeZone() or datefmt_set_timezone()
- instead.
- IntlDateFormatter::format() and datefmt_format() now also accept an
IntlCalendar object for formatting.
-- mcrypt_ecb(), mcrypt_cbc(), mcrypt_cfb() and mcrypt_ofb() now throw
- E_DEPRECATED. Their use was already previously discouraged in the docs,
- but that predated the existence of E_DEPRECATED.
- php_logo_guid(), php_egg_logo_guid(), php_real_logo_guid() and
zend_logo_guid() have been removed
- set_error_handler(NULL) can now be used to reset the error handler.