2019-01-28 09:34:31 +00:00
|
|
|
PHP 8.0 UPGRADE NOTES
|
2012-03-05 20:14:04 +00:00
|
|
|
|
|
|
|
1. Backward Incompatible Changes
|
|
|
|
2. New Features
|
2014-05-01 10:27:38 +00:00
|
|
|
3. Changes in SAPI modules
|
|
|
|
4. Deprecated Functionality
|
|
|
|
5. Changed Functions
|
|
|
|
6. New Functions
|
|
|
|
7. New Classes and Interfaces
|
2015-02-10 07:56:18 +00:00
|
|
|
8. Removed Extensions and SAPIs
|
2014-05-01 10:27:38 +00:00
|
|
|
9. Other Changes to Extensions
|
|
|
|
10. New Global Constants
|
|
|
|
11. Changes to INI File Handling
|
2014-08-22 11:35:07 +00:00
|
|
|
12. Windows Support
|
2019-01-28 09:34:31 +00:00
|
|
|
13. Other Changes
|
|
|
|
14. Performance Improvements
|
2010-03-24 16:23:50 +00:00
|
|
|
|
2005-11-22 23:49:13 +00:00
|
|
|
|
2010-03-24 16:23:50 +00:00
|
|
|
========================================
|
2012-03-05 20:14:04 +00:00
|
|
|
1. Backward Incompatible Changes
|
2010-03-24 16:23:50 +00:00
|
|
|
========================================
|
2016-04-24 21:49:52 +00:00
|
|
|
|
2019-01-04 10:55:41 +00:00
|
|
|
- Core:
|
2019-01-28 15:05:02 +00:00
|
|
|
. Removed track_errors ini directive. This means that $php_errormsg is no
|
|
|
|
longer available. The error_get_last() function may be used instead.
|
|
|
|
. Removed create_function(). Anonymous functions may be used instead.
|
2019-01-22 17:07:46 +00:00
|
|
|
|
2019-01-28 13:29:06 +00:00
|
|
|
- GD:
|
|
|
|
. The deprecated function image2wbmp() has been removed.
|
|
|
|
RFC: https://wiki.php.net/rfc/image2wbmp
|
2019-01-28 13:50:52 +00:00
|
|
|
. The deprecated functions png2wbmp() and jpeg2wbmp() have been removed.
|
|
|
|
RFC: https://wiki.php.net/rfc/deprecate-png-jpeg-2wbmp
|
2019-01-28 13:29:06 +00:00
|
|
|
|
2019-01-28 15:05:02 +00:00
|
|
|
- GMP:
|
|
|
|
. gmp_random() has been removed. One of gmp_random_range() or
|
|
|
|
gmp_random_bits() should be used instead.
|
|
|
|
|
2019-01-28 14:18:01 +00:00
|
|
|
- Intl:
|
|
|
|
. The deprecated constant INTL_IDNA_VARIANT_2003 has been removed.
|
|
|
|
RFC: https://wiki.php.net/rfc/deprecate-and-remove-intl_idna_variant_2003
|
|
|
|
|
2019-01-28 15:05:02 +00:00
|
|
|
- Mbstring:
|
|
|
|
. The mbstring.func_overload directive has been removed. The related
|
|
|
|
MB_OVERLOAD_MAIL, MB_OVERLOAD_STRING, and MB_OVERLOAD_REGEX constants have
|
|
|
|
also been removed. Finally, the "func_overload" and "func_overload_list"
|
|
|
|
entries in mb_get_info() have been removed.
|
|
|
|
. mb_parse_str() can no longer be used without specifying a result array.
|
|
|
|
|
|
|
|
- Standard:
|
|
|
|
. parse_str() can no longer be used without specifying a result array.
|
|
|
|
|
2012-03-05 20:14:04 +00:00
|
|
|
========================================
|
|
|
|
2. New Features
|
|
|
|
========================================
|
2009-01-28 17:23:28 +00:00
|
|
|
|
2012-03-05 20:14:04 +00:00
|
|
|
========================================
|
2014-05-01 10:27:38 +00:00
|
|
|
3. Changes in SAPI modules
|
2012-03-05 20:14:04 +00:00
|
|
|
========================================
|
2009-01-28 17:23:28 +00:00
|
|
|
|
2012-03-05 20:14:04 +00:00
|
|
|
========================================
|
2014-05-01 10:27:38 +00:00
|
|
|
4. Deprecated Functionality
|
2012-03-05 20:14:04 +00:00
|
|
|
========================================
|
2009-01-28 17:23:28 +00:00
|
|
|
|
2012-03-05 20:14:04 +00:00
|
|
|
========================================
|
2014-05-01 10:27:38 +00:00
|
|
|
5. Changed Functions
|
2012-03-05 20:14:04 +00:00
|
|
|
========================================
|
2009-06-23 19:40:31 +00:00
|
|
|
|
2012-03-05 20:14:04 +00:00
|
|
|
========================================
|
2014-05-01 10:27:38 +00:00
|
|
|
6. New Functions
|
2012-03-05 20:14:04 +00:00
|
|
|
========================================
|
2015-04-24 15:19:58 +00:00
|
|
|
|
2012-03-05 20:14:04 +00:00
|
|
|
========================================
|
2014-05-01 10:27:38 +00:00
|
|
|
7. New Classes and Interfaces
|
2012-03-05 20:14:04 +00:00
|
|
|
========================================
|
2009-01-28 17:23:28 +00:00
|
|
|
|
2012-03-05 20:14:04 +00:00
|
|
|
========================================
|
2015-02-10 07:56:18 +00:00
|
|
|
8. Removed Extensions and SAPIs
|
2012-03-05 20:14:04 +00:00
|
|
|
========================================
|
2009-01-28 17:23:28 +00:00
|
|
|
|
2012-03-05 20:14:04 +00:00
|
|
|
========================================
|
2014-05-01 10:27:38 +00:00
|
|
|
9. Other Changes to Extensions
|
2012-03-05 20:14:04 +00:00
|
|
|
========================================
|
2016-07-03 10:43:30 +00:00
|
|
|
|
2012-03-05 20:14:04 +00:00
|
|
|
========================================
|
2014-05-01 10:27:38 +00:00
|
|
|
10. New Global Constants
|
2012-03-05 20:14:04 +00:00
|
|
|
========================================
|
2010-03-24 16:23:50 +00:00
|
|
|
|
2012-03-05 20:14:04 +00:00
|
|
|
========================================
|
2014-05-01 10:27:38 +00:00
|
|
|
11. Changes to INI File Handling
|
2012-03-05 20:14:04 +00:00
|
|
|
========================================
|
2010-08-30 09:38:47 +00:00
|
|
|
|
2014-08-22 11:35:07 +00:00
|
|
|
========================================
|
|
|
|
12. Windows Support
|
|
|
|
========================================
|
|
|
|
|
2019-01-15 09:13:39 +00:00
|
|
|
========================================
|
2019-01-28 09:34:31 +00:00
|
|
|
13. Other Changes
|
2012-03-05 20:14:04 +00:00
|
|
|
========================================
|
2018-12-26 21:26:01 +00:00
|
|
|
|
|
|
|
========================================
|
2019-01-28 09:34:31 +00:00
|
|
|
14. Performance Improvements
|
2018-12-26 21:26:01 +00:00
|
|
|
========================================
|
|
|
|
|