Skip to content

foreach loop and times array #3

@espiat

Description

@espiat

when you change manually the $step variable to 0.5 -> the array with times is not saving the values correct.

because you cant create an array with an key with an floatval.

Floats and numeric string in key are truncated to integer.

more flexible for step.

$times[$timearr] = $time . ' - '.$time2.' Uhr'; $timearr++;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions