Skip to content
New issue

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

【bug】Env数组 #2934

Open
yuyachong opened this issue Sep 9, 2023 · 1 comment · May be fixed by #2946
Open

【bug】Env数组 #2934

yuyachong opened this issue Sep 9, 2023 · 1 comment · May be fixed by #2946

Comments

@yuyachong
Copy link

.env中:
xxx[] = xxxxxx

获取xxx时报错:
Fatal error: Uncaught TypeError: strtoupper(): Argument #1 ($string) must be of type string, int given in /vendor/topthink/framework/src/think/Env.php:118

==================
[qqq]
xxx[] = xxxxxx
这么写没有问题,可是我不想有qqq
image

@yuyachong
Copy link
Author

version:8.0.2

@sy-records sy-records linked a pull request Oct 23, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant