Skip to content

Commit c6070e5

Browse files
committed
NEWS + UPGRADING
1 parent 2ef8c13 commit c6070e5

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

NEWS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ PHP NEWS
1111
. Fix OSS-Fuzz #429429090 (Failed assertion on unset() with uninitialized
1212
container). (ilutov)
1313
. Fixed GH-20564 (Don't call autoloaders with pending exception). (ilutov)
14+
. Improved accuracy of microtime() and gettimeofday(), up-to 10ns. (marc-mabe)
1415

1516
- Date:
1617
. Update timelib to 2022.16. (Derick)

UPGRADING.INTERNALS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ PHP 8.6 INTERNALS UPGRADE NOTES
5656
node.
5757
. The zend_exception_save() and zend_exception_restore() functions were
5858
removed.
59+
. Introduced a new time-retrieval API zend_time_*. Use this API instead of
60+
time(), gettimeofday(), clock_gettime() and timespec_get().
5961

6062
========================
6163
2. Build system changes
@@ -71,6 +73,9 @@ PHP 8.6 INTERNALS UPGRADE NOTES
7173
. Removed the XML_GetCurrentByteCount() libxml compatibility wrapper,
7274
as it was unused and could return the wrong result.
7375

76+
- ext/date
77+
. Deprecated php_time(), Use zend_time_real_get() instead.
78+
7479
- ext/mbstring:
7580
. Added GB18030-2022 to default encoding list for zh-CN.
7681

0 commit comments

Comments
 (0)