/ BLOG / Zend Framework and the PHP Sqlsrv extension

On the off chance you’re intending to do any development with using SqlSrv and ZF, I’d suggest taking a cursory look at ZF-7431 before hand. Equally if you’re planning on doing any dev with Sqlsrv and plan to migrate to other SQL platforms later, then it could be just as helpful.

The fact that SqlSrv will return PHP objects is rather nice, unless you already have existing code that assumes strings are returned, like almost all other database extensions available for PHP. The easiest “fix” to allow your code to work across as many systems as possible is to ensure that you pass in ReturnDatesAsStrings as an option.