PHP code example of hexblot / mssql-compat
1. Go to this page and download the library: Download hexblot/mssql-compat library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
hexblot / mssql-compat example snippets
rt old application logic here
define('MSSQL_COMPAT_DSN_OPTIONS', 'charset=UTF-8;version=7.4');
$link = mssql_compat_register_pdo($pdo); // becomes the default link
bash
$ composer test
# or against any PHP version:
$ docker run --rm -v "$PWD":/app php:5.6-cli php /app/tests/smoke_test.php