---
title: "Discussion on \"Ternary Operators in PHP\" | Hashnode"
description: "Discussion on \"Ternary Operators in PHP\". Ternary operator in php"
url: "https://hashnode.com/posts/ternary-operators-in-php/610727fb33a2a43971a2f25e"
---

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

Discussion

# [Ternary Operators in PHP](https://husmarn.hashnode.dev/ternary-operators-in-php?utm_source=hashnode&utm_medium=feed)

Ternary operator in php

Aug 1, 2021 · 2 min read · husmarn.hashnode.dev  
Read the article

-   [#php](https://hashnode.com/tag/php)
-   [#developer](https://hashnode.com/tag/developer)
-   [#technical-writing-1](https://hashnode.com/tag/technical-writing-1)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[Lekan Kareem](https://hashnode.com/@Husmarn)

@Husmarn

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

Npm init

## Responses 1

Markdown supported · ⌘↵ to post

[Biodun Bamigboye](https://hashnode.com/@BiodunBamigboye)

[Aug 2, 2021](https://hashnode.com/posts/ternary-operators-in-php/610727fb33a2a43971a2f25e/comment/6107be323b9b85399dcf5f9e)

Nice one. Thanks for sharing
