---
title: "Discussion on \"Null-safe operator\" | Hashnode"
description: "Discussion on \"Null-safe operator\". Null-safe operator ဆိုတာက php 8 မှာအသစ်ပါလာတဲ့ syntax ပါ။ သူရေးတဲ့ ပုံစံက property တွေ method တွေကို access လုပ်တဲ့ operator နဲ့ဆင်တယ်။ ဒီလိုလေးရေးရပါတယ်။ \"?->\"\nအရင်က php မှာကျနော်တို့ null တွေကိုစစ်ချင်ရင် အောက်ကပုံစံလိုစစ်ရတယ်ပေါ့နော်။\nif($student ..."
url: "https://hashnode.com/posts/null-safe-operator/6575e4633d29baec452e5a08"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Null-safe operator](https://kalaung.org/null-safe-operator?utm_source=hashnode&utm_medium=feed)

Null-safe operator ဆိုတာက php 8 မှာအသစ်ပါလာတဲ့ syntax ပါ။ သူရေးတဲ့ ပုံစံက property တွေ method တွေကို access လုပ်တဲ့ operator နဲ့ဆင်တယ်။ ဒီလိုလေးရေးရပါတယ်။ "?->" အရင်က php မှာကျနော်တို့ null တွေကိုစစ်ချင်ရင် အောက်ကပုံစံလိုစစ်ရတယ်ပေါ့နော်။ if($student ...

Dec 10, 2023 · 1 min read · kalaung.org  
Read the article

-   [#php](https://hashnode.com/tag/php)

## Written by

[Zaw Htet Naing](https://hashnode.com/@Zaw)

@Zaw · Bangkok, Thai

  
[View profile](https://hashnode.com/@Zaw)

Developer

A developer from Bangkok.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
