diff --git a/public/roadmap-content/php.json b/public/roadmap-content/php.json index 45352df08..583c18466 100644 --- a/public/roadmap-content/php.json +++ b/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" } ]