diff --git a/reference/strings/functions/echo.xml b/reference/strings/functions/echo.xml index f80bbe5ae9..6501c23258 100644 --- a/reference/strings/functions/echo.xml +++ b/reference/strings/functions/echo.xml @@ -125,8 +125,8 @@ echo "Hello ", isset($name) ? $name : "John Doe", "!"; - With concatenation, the period operator has a higher precedence than both - the addition and ternary operators, and so parentheses must be used for the + With concatenation, the period operator has the same precedence as + the addition operator, and higher precedence than the ternary operator, so parentheses must be used for the correct behaviour: