chore: update roadmap content json (#8154)

Co-authored-by: kamranahmedse <4921183+kamranahmedse@users.noreply.github.com>
pull/8156/head
github-actions[bot] 2 months ago committed by GitHub
parent 0783330a70
commit b15bdd5f78
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 9
      public/roadmap-content/php.json

@ -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"
}
]

Loading…
Cancel
Save