Fatal error: 'break' not in the 'loop' or 'switch' context in \PHPExcel\PHPExcel\Calculation\Functions.php on line 581
This error come out for when download excel file open in excel 2007.
if (($value === NULL) || (is_float($value)) || (is_int($value))) { return 1; } elseif(is_bool($value)) { return 4; } elseif(is_array($value)) { return 64; break;// this line error
}
elseif(is_string($value)) { // Errors if ((strlen($value) > 0) && ($value{0} == '#')) { return 16; } return 2; } return 0;
Please fix this problem . Thank you
Fatal error: 'break' not in the 'loop' or 'switch' context in \PHPExcel\PHPExcel\Calculation\Functions.php on line 581
This error come out for when download excel file open in excel 2007.
if (($value === NULL) || (is_float($value)) || (is_int($value))) { return 1; } elseif(is_bool($value)) { return 4; } elseif(is_array($value)) { return 64; break;// this line error
}
elseif(is_string($value)) { // Errors if ((strlen($value) > 0) && ($value{0} == '#')) { return 16; } return 2; } return 0;
Please fix this problem . Thank you