php-src icon indicating copy to clipboard operation
php-src copied to clipboard

array_column return empty array if file encoding contains BOM

Open milhcbt opened this issue 4 years ago • 2 comments

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

milhcbt avatar Dec 22 '21 06:12 milhcbt

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.

damianwadley avatar Dec 22 '21 07:12 damianwadley

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.

github-actions[bot] avatar Jan 06 '22 00:01 github-actions[bot]