[php-src] Issue #7810: array_column return empty array if file encoding contains BOM

From: Date: Wed, 22 Dec 2021 06:54:02 +0000
Subject: [php-src] Issue #7810: array_column return empty array if file encoding contains BOM
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-238525@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/7810 Author: milhcbt ### 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

« previous php.bugs (#238525) next »