I haven't noticed before. I know that when I enter the company, I read more code and often see the elseif Branch. I often use elseif, so I noticed that, since they can all use it, where are they not? Through the query, it turns out that there is a little difference: 1. One can use a colon, and the other can not? Php * Incorre
In the past, I did not notice that I knew that when I entered the company, I saw more code and often saw the branch of elseif, while I often used else if. So I noticed that, since they can all use it, where are they not? Through the query, it turns out that there is a little difference: 1. One can use a colon, and the other can not? Php/* Incorre
In the past, I did not notice that I knew that when I entered the company, I saw more code and often saw the branch of elseif, while I often used else if. So I noticed that, since they can all use it, where are they not?
Through the query, it turns out that there is a little difference: 1. One can use a colon, and the other cannot
$ B): echo $. "is greater ". $ B; else if ($ a = $ B): // Will not compile. echo "The above line causes a parse error. "; endif;/* Correct Method: */if ($ a> $ B): echo $. "is greater ". $ B; elseif ($ a = $ B): // Note the combination of the words. echo $. "equals ". $ B; else: echo $. "is neither greater than or equal ". $ B; endif;?>