if与()之间不能有空格的
There cannot be a space between if and () - PHP Chinese website Q&A - There cannot be a space between if and () - PHP Chinese website Q&A
Take a look around and learn.
The parser will not parse spaces when parsing code, unless these spaces are placed in variables, such as strings. So, you can have as many spaces as you like here.
多少空格都没问题
There cannot be a space between if and () - PHP Chinese website Q&A - There cannot be a space between if and () - PHP Chinese website Q&A
Take a look around and learn.
The parser will not parse spaces when parsing code, unless these spaces are placed in variables, such as strings. So, you can have as many spaces as you like here.
多少空格都没问题