2015-09-17 11:19:30 +00:00
|
|
|
PHP 7.1 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
|
|
|
========================================
|
2015-10-14 18:15:32 +00:00
|
|
|
- Core:
|
|
|
|
. 'void' can no longer be used as the name of a class, interface, or trait.
|
|
|
|
This applies to declarations, class_alias() and use statements.
|
2009-06-24 21:16:53 +00:00
|
|
|
|
2012-03-05 20:14:04 +00:00
|
|
|
========================================
|
|
|
|
2. New Features
|
|
|
|
========================================
|
2015-10-14 18:15:32 +00:00
|
|
|
- Core
|
|
|
|
. Added void return type, which requires that a function not return a value.
|
|
|
|
(RFC: https://wiki.php.net/rfc/void_return_type)
|
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
|
|
|
========================================
|
2015-10-08 08:38:46 +00:00
|
|
|
- get_headers() has an extra parameter which allows passing a custom stream
|
|
|
|
context.
|
2015-10-16 17:01:22 +00:00
|
|
|
- The first $varname argument for getenv() is no longer mandatory, the
|
|
|
|
current environment variables will be returned as an associative array
|
|
|
|
when omitted.
|
2015-12-16 22:27:34 +00:00
|
|
|
- long2ip() accepts integer as parameter now
|
2015-12-18 04:04:34 +00:00
|
|
|
- pg_last_notice() accepts optional long parameter to specify operation.
|
|
|
|
PGSQL_NOTICE_LAST - Get last notice (Default)
|
|
|
|
PGSQL_NOTICE_ALL - Get all stored notices
|
|
|
|
PGSQL_NOTICE_CLEAR - Remove all stored notices
|
|
|
|
It returns empty string or array on successful PGSQL_NOTICE_LAST/ALL calls.
|
|
|
|
It returned FALSE for empty notice previously.
|
2015-12-18 06:50:57 +00:00
|
|
|
- pg_fetch_all() accepts 2nd optional result type parameter like
|
|
|
|
pg_fetch_row().
|
|
|
|
- pg_select() accepts 4th optional result type parameter like pg_fetch_row().
|
2015-12-22 17:12:46 +00:00
|
|
|
- parse_url() is more restrictive now and supports RFC3986.
|
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
|
|
|
========================================
|
2015-12-19 13:45:44 +00:00
|
|
|
- SQLite3:
|
2015-12-20 02:40:58 +00:00
|
|
|
. Upgraded bundled SQLite lib to 3.9.2
|
2012-02-21 10:34:42 +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
|
|
|
|
2015-12-18 04:04:34 +00:00
|
|
|
- Pgsql:
|
|
|
|
PGSQL_NOTICE_LAST
|
|
|
|
PGSQL_NOTICE_ALL
|
|
|
|
PGSQL_NOTICE_CLEAR
|
|
|
|
|
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
|
|
|
|
========================================
|
|
|
|
|
2015-10-10 16:20:56 +00:00
|
|
|
- Core:
|
|
|
|
. Support for ftok()
|
|
|
|
|
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
|
|
|
========================================
|
2012-07-14 20:44:21 +00:00
|
|
|
|