From c2de333137b149e30d0997570f563e56cbee2ff0 Mon Sep 17 00:00:00 2001 From: Parth Date: Thu, 13 Dec 2018 08:20:36 +0000 Subject: [PATCH] Add ternary example (#24581) --- guide/english/php/if-else-statement/index.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/guide/english/php/if-else-statement/index.md b/guide/english/php/if-else-statement/index.md index 4d679a1232..d602a255df 100644 --- a/guide/english/php/if-else-statement/index.md +++ b/guide/english/php/if-else-statement/index.md @@ -90,9 +90,19 @@ For instance: ## Ternary Operators -Another important option to consider when using short If/Else statements is the ternary operator. +Another option to consider when using short If/Else statements is the ternary operator. -Also there is an alternative syntax for control structures +For instance: + +``` +