I pivot some data into tables with the year as the column name. When I use sqlsrv_fetch_object, the columns with numeric names don't return.
Example:
SELECT [someText], [someMoreText], [2014],[2015],[2016] FROM someTable
returns the first 2 columns only using sqlsrv_fetch_object.
SELECT [someText], [someMoreText], [Y2014],[Y2015],[Y2016] FROM someTable
returns 5 columns using sqlsrv_fetch_object.
Is this a bug in the SQL Drivers for PHP or the underlying native client?
Microsoft Drivers for PHP for SQL Server 3.0
SQL Server 2008 R2
SQL Native Client 11.0
PHP 5.3.28