Whitespaces are generally ignored in PHP syntax, but there are several places where you cannot put them without affecting the sense (and the result).
One example is:
$a = 5.5; // five and a half (float)
$b = 5 . 5; // "55" (string)
Do you know of any other examples?
The question is not about why is that working this way, but what are situations, when omitting or placing whitespace changes the program, but both versions are syntactically correct.
$b = 5...5;
- though it constitutes more of a case where spaces would aid readability.int main(){ printf("Th" "is wi" "ll work!" ); }