mirror of
https://github.com/php/php-src.git
synced 2024-12-20 23:39:46 +08:00
91 lines
2.3 KiB
Plaintext
91 lines
2.3 KiB
Plaintext
PHP 7.2 UPGRADE NOTES
|
|
|
|
1. Backward Incompatible Changes
|
|
2. New Features
|
|
3. Changes in SAPI modules
|
|
4. Deprecated Functionality
|
|
5. Changed Functions
|
|
6. New Functions
|
|
7. New Classes and Interfaces
|
|
8. Removed Extensions and SAPIs
|
|
9. Other Changes to Extensions
|
|
10. New Global Constants
|
|
11. Changes to INI File Handling
|
|
12. Windows Support
|
|
13. Other Changes
|
|
|
|
|
|
========================================
|
|
1. Backward Incompatible Changes
|
|
========================================
|
|
|
|
- Core:
|
|
. gettype() will now return "resource (closed)" instead of "unknown type" for
|
|
closed resources.
|
|
. is_object() will now return true for objects of class
|
|
__PHP_Incomplete_Class.
|
|
|
|
========================================
|
|
2. New Features
|
|
========================================
|
|
|
|
========================================
|
|
3. Changes in SAPI modules
|
|
========================================
|
|
|
|
========================================
|
|
4. Deprecated Functionality
|
|
========================================
|
|
|
|
========================================
|
|
5. Changed Functions
|
|
========================================
|
|
|
|
========================================
|
|
6. New Functions
|
|
========================================
|
|
|
|
- Mbstring:
|
|
. Added mb_chr() and mb_ord().
|
|
. Added mb_scurb() that scrub broken multibyte strings.
|
|
|
|
========================================
|
|
7. New Classes and Interfaces
|
|
========================================
|
|
|
|
========================================
|
|
8. Removed Extensions and SAPIs
|
|
========================================
|
|
|
|
========================================
|
|
9. Other Changes to Extensions
|
|
========================================
|
|
|
|
- EXIF:
|
|
. Added extended exif tag support for the following formats:
|
|
Samsung, DJI, Panasonic, Sony, Pentax, Minolta & Sigma/Foveon.
|
|
|
|
- Mbstring
|
|
. mb_check_encoding() accepts array parameter. Both key and value
|
|
ecodings are checked recursively.
|
|
|
|
========================================
|
|
10. New Global Constants
|
|
========================================
|
|
|
|
========================================
|
|
11. Changes to INI File Handling
|
|
========================================
|
|
|
|
- sql.safe_mode
|
|
. This INI directive have been removed.
|
|
|
|
========================================
|
|
12. Windows Support
|
|
========================================
|
|
|
|
========================================
|
|
13. Other Changes
|
|
========================================
|
|
|