1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-08-22 08:53:01 +02:00

chore: update roadmap content json (#8154)

Co-authored-by: kamranahmedse <4921183+kamranahmedse@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2025-02-02 09:40:01 +06:00
committed by GitHub
parent 0783330a70
commit b15bdd5f78

View File

@@ -319,8 +319,13 @@
"description": "The Null Safe Operator is a handy feature in PHP which deals with an issue that often pops up when working with objects: trying to access properties or methods on an object that might be null. Instead of a fatal error, the PHP Null Safe Operator (indicated by ?->) allows null values to be returned safely, making your code more robust. Here's a quick example, consider $session?->user?->name. If $session or user is null, PHP will stop further execution and simply return null. This makes PHP more resilient when processing unpredictable data.\n\nVisit the following resources to learn more:",
"links": [
{
"title": "Null Safe Operator",
"url": "https://www.php.net/manual/en/language.oop5.nullsafe.php",
"title": "The Basics - Manual",
"url": "https://www.php.net/manual/en/language.oop5.basic.php",
"type": "article"
},
{
"title": "PHP RFC: Nullsafe operator",
"url": "https://wiki.php.net/rfc/nullsafe_operator",
"type": "article"
}
]