Skip to content

Commit bf46488

Browse files
committed
NEWS + UPGRADING
1 parent 7cc5165 commit bf46488

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

NEWS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ PHP NEWS
77
request. (ilutov)
88
. It is now possible to use reference assign on WeakMap without the key
99
needing to be present beforehand. (ndossche)
10+
. Improved accuracy of microtime() and gettimeofday(), up-to 10ns. (marc-mabe)
1011

1112
- Hash:
1213
. Upgrade xxHash to 0.8.2. (timwolla)

UPGRADING.INTERNALS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ PHP 8.6 INTERNALS UPGRADE NOTES
4848
. The WRONG_PARAM_COUNT and ZEND_WRONG_PARAM_COUNT() macros have been
4949
removed. Call zend_wrong_param_count(); followed by RETURN_THROWS();
5050
instead.
51+
. Introduced a new time-retrieval API zend_time_*. Use this API instead of
52+
time(), gettimeofday(), clock_gettime() and timespec_get().
5153

5254
========================
5355
2. Build system changes
@@ -62,6 +64,8 @@ PHP 8.6 INTERNALS UPGRADE NOTES
6264
as it was unused.
6365
. Removed the XML_GetCurrentByteCount() libxml compatibility wrapper,
6466
as it was unused and could return the wrong result.
67+
- ext/date
68+
. Deprecated php_time(), Use zend_time_real_get() instead.
6569

6670
========================
6771
4. OpCode changes

0 commit comments

Comments
 (0)