mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
Refactored ext/ldap
This commit is contained in:
parent
a816032285
commit
e1317ed517
420
ext/ldap/ldap.c
420
ext/ldap/ldap.c
File diff suppressed because it is too large
Load Diff
@ -37,6 +37,6 @@ Warning: ldap_unbind() expects parameter 1 to be resource, %unicode_string_optio
|
||||
bool(false)
|
||||
bool(true)
|
||||
|
||||
Warning: ldap_unbind(): %d is not a valid ldap link resource in %s on line %d
|
||||
Warning: ldap_unbind(): supplied resource is not a valid ldap link resource in %s on line %d
|
||||
bool(false)
|
||||
===DONE===
|
||||
|
@ -46,7 +46,7 @@ $stmt->execute();
|
||||
var_dump($stmt->fetchAll(PDO::FETCH_CLASS, 'TestBase'));
|
||||
|
||||
$stmt->execute();
|
||||
var_dump($stmt->fetchAll(PDO::FETCH_CLASS, 'TestDerived', array(0)));
|
||||
var_dump($stmt->fetchAll(PDO::FETCH_CLASS, 'TestDerived', array("")));
|
||||
|
||||
?>
|
||||
--EXPECTF--
|
||||
@ -151,4 +151,4 @@ array(3) {
|
||||
["val2"]=>
|
||||
string(2) "CC"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ if (false !== getenv('PDO_PGSQL_TEST_DSN')) {
|
||||
$config['ENV']['PDOTEST_ATTR'] = getenv('PDO_PGSQL_TEST_ATTR');
|
||||
}
|
||||
} else {
|
||||
$config['ENV']['PDOTEST_DSN'] = 'pgsql:host=localhost port=5432 dbname=test user=root password=';
|
||||
$config['ENV']['PDOTEST_DSN'] = 'pgsql:host=localhost port=5432 dbname=test user=postgres password=postgres';
|
||||
}
|
||||
|
||||
return $config;
|
||||
|
@ -6,7 +6,7 @@ if (false !== getenv('PDO_PGSQL_TEST_DSN')) {
|
||||
$config['ENV']['PDOTEST_ATTR'] = getenv('PDO_PGSQL_TEST_ATTR');
|
||||
}
|
||||
} else {
|
||||
$config['ENV']['PDOTEST_DSN'] = 'pgsql:host=localhost port=5432 dbname=test user=root password=';
|
||||
$config['ENV']['PDOTEST_DSN'] = 'pgsql:host=localhost port=5432 dbname=test user=postgres password=postgres';
|
||||
}
|
||||
|
||||
foreach ($config['ENV'] as $k => $v) {
|
||||
|
Loading…
Reference in New Issue
Block a user