Skip to content
This repository was archived by the owner on Jan 2, 2019. It is now read-only.
This repository was archived by the owner on Jan 2, 2019. It is now read-only.

Compile Error: 'break' not in the 'loop' or 'switch' context #1296

@Eldhelion

Description

@Eldhelion

I'm trying to create a excel with multiple sheets, but have reached the following error:

Symfony\Component\Debug\Exception\ FatalErrorException
in vendor/phpoffice/phpexcel/Classes/PHPExcel/Calculation/Functions.php (line 581)

                return 1;
        } elseif(is_bool($value)) {
                return 4;
        } elseif(is_array($value)) {
                return 64;
                break;
        } elseif(is_string($value)) {
            //    Errors
            if ((strlen($value) > 0) && ($value{0} == '#')) {
                return 16;
            }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions