Skip to content

apcu_fetch returns associative array and not variables #19

Description

@SkepticaLee

https://www.php.net/manual/en/function.apcu-fetch.php
states under "Return values" that
"The stored variable or array of variables"

This should read:
"The stored variable or an associative array with the variables' names as keys and their values. Use extract () to convert this array to the variables themselves."

If the function returned the variables themselves then they could be fetched by a destructuring assignment, which is not the case.

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions