We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
static function dotToMultiArray( array $array ): array { $multi = []; foreach($array as $key => $value){ $level = &$multi; foreach(explode(".", $key) as $node) $level = &$level[$node]; $level = $value; } return $multi; }
This marks $level as unused but the third assignment actually changes the referenced variable.
$level
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This marks
$level
as unused but the third assignment actually changes the referenced variable.The text was updated successfully, but these errors were encountered: