From e545aceab88534f6a38fcb00df276e97db6efdc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vl=C4=83du=C8=9B=20Ilie?= Date: Thu, 13 Dec 2018 10:40:56 +0200 Subject: [PATCH] Bug fixed in the Ternary Operators (#27984) The initial syntax was wrong. See the changelog. --- guide/english/php/if-else-statement/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guide/english/php/if-else-statement/index.md b/guide/english/php/if-else-statement/index.md index 3f406fef25..d762bf521f 100644 --- a/guide/english/php/if-else-statement/index.md +++ b/guide/english/php/if-else-statement/index.md @@ -103,9 +103,9 @@ There is also an alternative syntax for control structures ```php if (condition1): statement1; - endif; - else + else: statement5; + endif; ``` For more information check out the following link: