Skip to content

Commit 7061c40

Browse files
committed
[skip-ci] update UPGRADING
1 parent c2547ab commit 7061c40

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

UPGRADING

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ PHP 8.2 UPGRADE NOTES
3535
* SplFileObject::ftell()
3636
* SplFileObject::fgetc()
3737
* SplFileObject::fpassthru()
38+
. SplFileObject::hasChildren() now has a tentative return type of false,
39+
previously it was bool
40+
. SplFileObject::getChildren() now has a tentative return type of null,
41+
previously it was ?RecursiveIterator
3842

3943
========================================
4044
2. New Features
@@ -44,6 +48,8 @@ PHP 8.2 UPGRADE NOTES
4448
. Added the #[\SensitiveParameter] attribute to redact sensitive data in
4549
backtraces.
4650
RFC: https://wiki.php.net/rfc/redact_parameters_in_back_traces
51+
. It is now possible to use null and false as standalone types.
52+
RFC: https://wiki.php.net/rfc/null-false-standalone-types
4753

4854
- Curl:
4955
. Added CURLINFO_EFFECTIVE_METHOD option and returning the effective

0 commit comments

Comments
 (0)