-$username = "admin"; evaluated as - ($username = "admin");
That is, the attached unary operator - applied to the expression.
An expression consists only of assignment.
Thus, the string is assigned to a variable, then, in accordance with the php syntax, the expression returns the same value that is implicitly converted to a number and denied. Then the result is discarded.
Thus, there is no particular significance here; someone accidentally places it.
zerkms
source share