Bug 439585 - PHP 8.0: Nullsafe operator
Summary: PHP 8.0: Nullsafe operator
Status: REPORTED
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: PHP (other bugs)
Version First Reported In: git master
Platform: Other All
: NOR wishlist
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-07 07:52 UTC by Jan Pavlicek
Modified: 2022-09-25 15:38 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Pavlicek 2021-07-07 07:52:56 UTC
SUMMARY

"Subset" of 437992.

PHP8 introduced update to the object access operator syntax, adding posibility to use "nullsafe operator" - by adding question mark, the program won't crash when the called object is null, instead the expression will return null. This question mark should be supported by KDevelop

https://wiki.php.net/rfc/nullsafe_operator