mirror of
https://github.com/mlocati/docker-php-extension-installer
synced 2025-05-09 00:22:40 +00:00
Use common code to bootstrap tests (#443)
This commit is contained in:
parent
e05d5346d5
commit
f81f0cd1a2
13 changed files with 31 additions and 98 deletions
|
@ -1,22 +1,7 @@
|
|||
#!/usr/bin/env php
|
||||
<?php
|
||||
|
||||
error_reporting(-1);
|
||||
|
||||
set_error_handler(
|
||||
static function ($errno, $errstr, $errfile, $errline) {
|
||||
$msg = "Error {$errno}: {$errstr}\n";
|
||||
if ($errfile) {
|
||||
$msg .= "File: {$errfile}\n";
|
||||
if ($errline) {
|
||||
$msg .= "Line: {$errline}\n";
|
||||
}
|
||||
}
|
||||
fwrite(STDERR, $msg);
|
||||
exit(1);
|
||||
},
|
||||
-1
|
||||
);
|
||||
require_once __DIR__ . '/_bootstrap.php';
|
||||
|
||||
sqlsrv_connect(
|
||||
'localhost, 50000',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue