Actions are executed in order from left to right. Due to the fact that the string is the first operand, the concatenation is performed.
In order to get a mathematically correct example, you can modify the order of operations execution with the help of parentheses:
Войдите чтобы поставить Нравится
Войдите чтобы прокомментировать