‘break’ not in the ‘loop’ or ‘switch’ context Error (Fixed)

Fatal error: ‘break’ not in the ‘loop’ or ‘switch’ context in
. /assets/Classes/PHPExcel/Calculation/Functions.php

‘break’ not in the loop ‘or’ switch ‘context

wrong position FILE:/private/var/WWW/backend/ThinkPHP/Library/Org/Util/PHPExcel/Calculation/Functions provides PHP LINE: 576
A search on the Internet, there are indeed a lot of people also asked:
Just delete ‘break’ on line 576!
Some people on the Internet say that the higher version of PHP7.0 is only available because:
As break is after return statement, so it giving fatal error.
Because break reported a syntax error after return! That’s not true!
Others say the bug has been fixed in 1.8.1! I used 1.7.9, you must use the latest version in the future!
— —
copyright notice: this article is the original article of CSDN blogger “deep drifter”, and follows CC 4.0 by-sa copyright agreement. Please attach the link of original source and this statement to reprint.

Read More: