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

array_column return empty array if file encoding contains BOM #7810

Closed
milhcbt opened this issue Dec 22, 2021 · 2 comments
Closed

array_column return empty array if file encoding contains BOM #7810

milhcbt opened this issue Dec 22, 2021 · 2 comments
Labels

Comments

@milhcbt
Copy link

milhcbt commented Dec 22, 2021

Description

two identical file one with encoding UTF-8-BOM other with encoding UTF-8, both read successfully but when we try to get a column, the second one (with BOM) return empty array.

PHP Version

PHP8.0

Operating System

Ubuntu 20.04

@damianwadley
Copy link
Member

The template you used to start this bug report asked you for reproducing code, the output it creates, and what you expected to see instead. Please provide that now.

@github-actions
Copy link

github-actions bot commented Jan 6, 2022

No feedback was provided. The issue is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants