2018-07-31 13:54:03 +00:00
|
|
|
PHP 7.4 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
|
|
|
|
13. Other Changes
|
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
|
|
|
|
2018-09-15 12:37:55 +00:00
|
|
|
- Intl:
|
|
|
|
. The default parameter value of idn_to_ascii() and idn_to_utf8() is now
|
|
|
|
INTL_IDNA_VARIANT_UTS46 instead of the deprecated INTL_IDNA_VARIANT_2003.
|
|
|
|
|
2018-09-29 12:47:57 +00:00
|
|
|
- Reflection:
|
|
|
|
. Reflection objects will now generate an exception if an attempt is made
|
|
|
|
to serialize them. Serialization for reflection objects was never
|
|
|
|
supported and resulted in corrupted reflection objects. It has been
|
|
|
|
explicitly prohibited now.
|
|
|
|
|
2012-03-05 20:14:04 +00:00
|
|
|
========================================
|
|
|
|
2. New Features
|
|
|
|
========================================
|
2009-01-28 17:23:28 +00:00
|
|
|
|
2018-09-21 13:00:07 +00:00
|
|
|
- PDO_SQLite:
|
|
|
|
. PDOStatement::getAttribute(PDO::SQLITE_ATTR_READONLY_STATEMENT) allows to
|
|
|
|
check whether this statement is read-only, i.e. whether it doesn't modify
|
|
|
|
the database.
|
|
|
|
|
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
|
|
|
|
2018-09-29 18:58:17 +00:00
|
|
|
- Core:
|
|
|
|
. Unbinding $this of a non-static method through a combination of
|
|
|
|
ReflectionMethod::getClosure() and closure rebinding is deprecated. Doing
|
|
|
|
so is equivalent to calling a non-static method statically, which has been
|
|
|
|
deprecated since PHP 7.0.
|
|
|
|
|
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
|
|
|
|
2018-09-06 12:04:44 +00:00
|
|
|
- Intl:
|
|
|
|
. The Intl extension now requires at least ICU 50.1.
|
|
|
|
|
2018-09-16 09:48:48 +00:00
|
|
|
- Libxml:
|
|
|
|
. All libxml based extensions now require libxml 2.7.6 or newer.
|
|
|
|
|
2018-09-11 14:21:17 +00:00
|
|
|
- Reflection:
|
|
|
|
. Numeric value of class, property, function and constant modifiers was
|
|
|
|
changed. Don't filter methods and properties through
|
|
|
|
ReflectionClass::getMethods() and ReflectionClass::getProperties(), or test
|
|
|
|
results of Reflection...::getModifiers(), using hard-coded numeric values.
|
|
|
|
Use corresponding constants instead (e.g. ReflectionMethod::IS_PUBLIC).
|
|
|
|
|
2018-09-17 15:24:06 +00:00
|
|
|
- Zip:
|
|
|
|
. The bundled libzip library has been removed. A system libzip >= 0.11 is now
|
|
|
|
necessary to build the extension.
|
|
|
|
|
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
|
|
|
|
========================================
|
|
|
|
|
2012-03-05 20:14:04 +00:00
|
|
|
========================================
|
2014-08-22 11:35:07 +00:00
|
|
|
13. Other Changes
|
2012-03-05 20:14:04 +00:00
|
|
|
========================================
|