Home
last modified time | relevance | path

Searched refs:PDO (Results 201 – 225 of 381) sorted by relevance

12345678910>>...16

/PHP-7.4/ext/pdo/tests/
H A Dpdo_002.phpt2 PDO Common: PDO::FETCH_NUM
25 var_dump($stmt->fetchAll(PDO::FETCH_NUM));
H A Dpdo_029.phpt2 PDO Common: extending PDO (3)
44 class PDODatabase extends PDO
54 …$stmt = $this->prepare($sql, array(PDO::ATTR_STATEMENT_CLASS=>array('PDOStatementx', array($this))…
55 $stmt->setFetchMode(PDO::FETCH_ASSOC);
H A Dpdo_001.phpt2 PDO Common: PDO::FETCH_ASSOC
25 var_dump($stmt->fetchAll(PDO::FETCH_ASSOC));
H A Dpdo_009.phpt2 PDO Common: PDO::FETCH_CLASSTYPE
54 var_dump($stmt->fetchAll(PDO::FETCH_NUM));
57 var_dump($stmt->fetchAll(PDO::FETCH_CLASS|PDO::FETCH_CLASSTYPE, 'Test3'));
H A Dpdo_004.phpt2 PDO Common: PDO::FETCH_OBJ
25 var_dump($stmt->fetchAll(PDO::FETCH_OBJ));
H A Dpdo_003.phpt2 PDO Common: PDO::FETCH_BOTH
25 var_dump($stmt->fetchAll(PDO::FETCH_BOTH));
H A Dpdo_033.phpt2 PDO Common: PDO::quote()
32 print_r($stmt->fetchAll(PDO::FETCH_ASSOC));
/PHP-7.4/ext/pdo_pgsql/tests/
H A Dbug67462.phpt2 PDO PgSQL Bug #67462 (PDO_PGSQL::beginTransaction() wrongly throws exception when not in transactio…
15 $pdo->setAttribute (\PDO::ATTR_ERRMODE, \PDO::ERRMODE_EXCEPTION);
H A Dbug43925.phpt41 $stmt->bindValue('left', 1, PDO::PARAM_INT);
42 $stmt->bindValue('rootId', 3, PDO::PARAM_INT);
43 $stmt->bindValue('x', 5, PDO::PARAM_INT);
44 $stmt->bindValue('y', 50, PDO::PARAM_INT);
H A Dbug66584.phpt2 PDO PgSQL Bug #66584 (Segmentation fault on statement deallocation)
16 $pdo->setAttribute(\PDO::ATTR_ERRMODE, \PDO::ERRMODE_EXCEPTION);
24 $pdo->setAttribute(\PDO::ATTR_EMULATE_PREPARES, (bool)$i);
H A Dbug75402.phpt2 PDO PgSQL Bug #75402 Possible Memory Leak using PDO::CURSOR_SCROLL option
68 \PDO::ATTR_CURSOR => \PDO::CURSOR_SCROLL
70 // \PDO::ATTR_CURSOR => \PDO::CURSOR_FWDONLY
/PHP-7.4/ext/pdo_sqlite/tests/
H A Dpdo_sqlite_createfunction_with_flags.phpt6 if (!defined('PDO::SQLITE_DETERMINISTIC')) die('skip system sqlite is too old');
11 $db = new PDO('sqlite::memory:');
19 $db->sqliteCreateFunction('testing', function($v) { return strtolower($v); }, 1, PDO::SQLITE_DETERM…
H A Dbug_64705.phpt2 Bug #64705 errorInfo property of PDOException is null when PDO::__construct() fails
11 $pdo = new \PDO($dsn, null, null);
H A Dpdo_sqlite_createcollation.phpt8 $db = new PDO('sqlite::memory:');
9 $db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
H A Dbug52487.phpt2 Bug #52487 (PDO::FETCH_INTO leaks memory)
14 $stmt->setFetchMode(PDO::FETCH_INTO, new stdClass);
/PHP-7.4/ext/pdo_odbc/tests/
H A Dbug80783.phpt2 Bug #80783 (PDO ODBC truncates BLOB records at every 256th byte)
19 $stmt->bindColumn(1, $data, PDO::PARAM_LOB);
21 $stmt->fetch(PDO::FETCH_BOUND);
/PHP-7.4/ext/pdo_firebird/tests/
H A Dbug_62024.phpt2 Bug #62024 Cannot insert second row with null using parametrized query (Firebird PDO)
12 $dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_WARNING);
H A Dbug_47415.phpt12 $dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_WARNING);
25 $rows = $stmt->fetch(PDO::FETCH_BOUND);
H A Dddl.phpt12 $dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_WARNING);
23 $dbh->setAttribute(PDO::ATTR_AUTOCOMMIT,0);
/PHP-7.4/ext/pdo_dblib/tests/
H A Dtypes.phpt15 switch ($db->getAttribute(PDO::DBLIB_ATTR_TDS_VERSION)) {
41 $row = $stmt->fetch(PDO::FETCH_ASSOC);
52 $db->setAttribute(PDO::ATTR_STRINGIFY_FETCHES, true);
54 $row = $stmt->fetch(PDO::FETCH_ASSOC);
H A Ddbtds.phpt2 PDO_DBLIB: \PDO::DBLIB_ATTR_TDS_VERSION exposes a string or false
12 $version = $db->getAttribute(PDO::DBLIB_ATTR_TDS_VERSION);
/PHP-7.4/ext/pdo_mysql/tests/
H A Dbug_41997.phpt2 PDO MySQL Bug #41997 (stored procedure call returning single rowset blocks future queries)
12 $row = $db->query('SELECT VERSION() as _version')->fetch(PDO::FETCH_ASSOC);
32 var_dump($stmt->fetchAll(PDO::FETCH_ASSOC));
37 var_dump($stmt->fetchAll(PDO::FETCH_ASSOC));
H A Dbug71569.phpt14 new PDO(PDO_MYSQL_TEST_DSN, PDO_MYSQL_TEST_USER, PDO_MYSQL_TEST_PASS, [
15 PDO::MYSQL_ATTR_INIT_COMMAND => null,
H A Dbug70862.phpt17 $db->setAttribute(PDO::ATTR_EMULATE_PREPARES, 0);
18 $db->setAttribute(PDO::ATTR_STRINGIFY_FETCHES, true);
31 $stmt->bindParam(":para", $f, PDO::PARAM_LOB);
/PHP-7.4/ext/pdo_oci/tests/
H A Dbug54379.phpt16 $db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
26 var_dump($stmt->fetchAll(PDO::FETCH_ASSOC));

Completed in 25 milliseconds

12345678910>>...16