If you hit an error "[Microsoft][ODBC Driver Manager] Invalid cursor state " when you specify valid Scrollable cursor, please check following bug report:
https://bugs.php.net/bug.php?id=63498
There is currently a bug that requires options Scrollable to be specified before QueryTimeout in corresponding array.