Problem: Use phpexcel to generate and download excel files Times Provisional headers are shown
Before this problem occurred, other projects used the same method to generate and download excel files without exception. This time the problem occurred, first ruled out the website path configuration problem, because after the breakpoint, the content can be output normally.
After catch catches the exception, it is displayed“continue" targeting switch is equivalent to “break”. Did you mean to use "continue 2”
Baidu later said that it was a bug in the PHP version. I
checked my PHP version and it turned out to be 7.3. I switched to 7.1 and executed normally.