4 ms·
Why are they avoiding PDO? Seems like that's what people should be moving towards in terms of flexibility and security.
by 1812Overture 11y ago
Why are they avoiding PDO? Seems like that's what people should be moving towards in terms of flexibility and security.
- e12e 11y agoThat struck me as odd too (I'm not really up to date on php7, and haven't considered php on windows in at least a decade). But perhaps it's because the PDO-driver is built on the old TSQL-interface, and MS own drivers haven't been ported to php7 yet (not with a stable release, anyway) ? http://php.net/manual/en/ref.pdo-dblib.php http://php.net/manual/en/ref.pdo-dblib.php https://msdn.microsoft.com/en-us/sqlserver/ff657782.aspx https://msdn.microsoft.com/en-us/sqlserver/ff657782.aspx https://github.com/Azure/msphpsql/tree/PHP-7.0 https://github.com/Azure/msphpsql/tree/PHP-7.0
- arenaninja 11y agoI've used and liked PDO myself in the past. The issue is that even though the application would pretty much simply run on PHP7 (since it runs on 5.6 already) if MS had a compatible driver instead of contemplating a re-write