Skip to content

L06: нужно перебирать весь массив одним циклом #2

Description

@matry-ny

for ($k = 0; $k < (array_key_last($Task)-2 ); $k++) {

все должно работать через 1 цикл

функция array_key_last - не самая подходящая в данном случае. попробуй count

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions