Home
last modified time | relevance | path

Searched refs:fetchAll (Results 1 – 25 of 147) sorted by relevance

123456

/php-src/ext/pdo_mysql/tests/
H A Dbug80458.phpt21 var_dump($res->fetchAll());
25 var_dump($stmt->fetchAll());
28 var_dump($res->fetchAll());
42 var_dump($stmt->fetchAll());
49 var_dump($stmt4->fetchAll());
57 var_dump($stmt5->fetchAll());
59 var_dump($stmt5->fetchAll());
68 var_dump($stmt->fetchAll());
71 var_dump($res->fetchAll());
85 var_dump($stmt->fetchAll());
[all …]
H A Dgh16314.phpt20 var_dump($pdo->query('SELECT 1;')->fetchAll());
23 var_dump($pdo->query('SELECT 1;')->fetchAll());
26 var_dump($pdo->query('SELECT 1;')->fetchAll());
29 var_dump($pdo->query('SELECT 1;')->fetchAll());
H A Dpdo_mysql_stmt_unbuffered_2050.phpt29 var_dump($stmt->fetchAll(PDO::FETCH_ASSOC));
31 var_dump($stmt->fetchAll(PDO::FETCH_ASSOC));
37 var_dump($stmt->fetchAll(PDO::FETCH_ASSOC));
53 $stmt->fetchAll()
89 var_dump($stmt->fetchAll(PDO::FETCH_ASSOC));
93 var_dump($stmt->fetchAll(PDO::FETCH_ASSOC));
97 var_dump($stmt->fetchAll(PDO::FETCH_ASSOC));
101 var_dump($stmt->fetchAll(PDO::FETCH_ASSOC));
105 var_dump($stmt->fetchAll(PDO::FETCH_ASSOC));
143 Warning: PDOStatement::fetchAll(): SQLSTATE[HY000]: General error: 2050 Row retrieval was canceled …
[all …]
H A Dpdo_mysql_prepare_emulated_binary.phpt26 var_dump($statement->fetchAll(PDO::FETCH_ASSOC)[0]['test'] === $content);
27 var_dump($db->query('SHOW WARNINGS')->fetchAll(PDO::FETCH_ASSOC));
35 var_dump($statement2->fetchAll(PDO::FETCH_ASSOC)[0]['test'] === $content);
38 var_dump($db->query('SHOW WARNINGS')->fetchAll(PDO::FETCH_ASSOC));
H A Dpdo_mysql_prepare_match_against.phpt21 var_dump($stmt->fetchAll(PDO::FETCH_ASSOC));
25 var_dump($stmt->fetchAll(PDO::FETCH_ASSOC));
29 var_dump($stmt->fetchAll(PDO::FETCH_ASSOC));
H A Dbug63185.phpt27 var_dump($st->fetchAll());
37 var_dump($st->fetchAll());
43 var_dump($st->fetchAll());
H A Dpdo_mysql_stmt_nextrowset.phpt38 var_dump($stmt->fetchAll(PDO::FETCH_ASSOC));
50 var_dump($stmt->fetchAll(PDO::FETCH_ASSOC));
54 echo "Skip fetchAll(): ";
160 Skip fetchAll(): bool(true)
212 Skip fetchAll(): bool(true)
265 Skip fetchAll(): bool(true)
317 Skip fetchAll(): bool(true)
H A Dpdo_mysql_stmt_fetch_serialize_simple.phpt44 printf("\nAnd now magic PDO using fetchAll(PDO::FETCH_CLASS|PDO::FETCH_SERIALIZE)...\n");
50 … $rows = $stmt->fetchAll(PDO::FETCH_CLASS|PDO::FETCH_SERIALIZE, 'myclass', array('Called by PDO'));
54 $rows = $stmt->fetchAll(PDO::FETCH_CLASS|PDO::FETCH_SERIALIZE, 'myclass');
85 And now magic PDO using fetchAll(PDO::FETCH_CLASS|PDO::FETCH_SERIALIZE)...
87 Deprecated: PDOStatement::fetchAll(): The PDO::FETCH_SERIALIZE mode is deprecated in %s on line %d
92 Deprecated: PDOStatement::fetchAll(): The PDO::FETCH_SERIALIZE mode is deprecated in %s on line %d
H A Dpdo_mysql_attr_multi_statements.phpt34 var_dump($stmt->fetchAll(PDO::FETCH_ASSOC));
37 var_dump($stmt->fetchAll(PDO::FETCH_ASSOC));
49 var_dump($stmt->fetchAll(PDO::FETCH_ASSOC));
52 var_dump($stmt->fetchAll(PDO::FETCH_ASSOC));
H A Dpdo_mysql_prepare_native_anonymous_placeholder.phpt107 var_dump($stmt->fetchAll(PDO::FETCH_ASSOC));
115 var_dump($stmt->fetchAll(PDO::FETCH_ASSOC));
138 $tmp = $stmt->fetchAll(PDO::FETCH_ASSOC);
163 if (count(($tmp = $stmt->fetchAll(PDO::FETCH_ASSOC))) != 2)
168 if (count(($tmp = $stmt->fetchAll(PDO::FETCH_ASSOC))) != 0)
182 if (count(($tmp = $stmt->fetchAll(PDO::FETCH_ASSOC))) != 2)
200 $tmp = $stmt->fetchAll(PDO::FETCH_ASSOC);
218 if (count(($tmp = $stmt->fetchAll(PDO::FETCH_ASSOC))) != 0)
224 if (count(($tmp = $stmt->fetchAll(PDO::FETCH_ASSOC))) != 2)
229 if (count(($tmp = $stmt->fetchAll(PDO::FETCH_ASSOC))) != 1)
H A Dnative_types.phpt22 var_dump($db->query('SELECT * FROM test_native_types')->fetchAll(PDO::FETCH_ASSOC));
25 var_dump($db->query('SELECT * FROM test_native_types')->fetchAll(PDO::FETCH_ASSOC));
H A Dbug75177.phpt20 $ret = $pdo->query("SELECT * FROM test_75177")->fetchAll();
26 $ret = $pdo->query("SELECT * FROM test_75177")->fetchAll();
/php-src/ext/pdo/tests/
H A Dpdo_015.phpt26 var_dump($select1->fetchAll(PDO::FETCH_COLUMN));
28 var_dump($select1->fetchAll(PDO::FETCH_COLUMN, 2));
30 var_dump($select1->fetchAll(PDO::FETCH_COLUMN|PDO::FETCH_GROUP));
32 var_dump($select1->fetchAll(PDO::FETCH_COLUMN|PDO::FETCH_UNIQUE));
34 var_dump($select1->fetchAll(PDO::FETCH_COLUMN|PDO::FETCH_UNIQUE, 0));
36 var_dump($select1->fetchAll(PDO::FETCH_COLUMN|PDO::FETCH_UNIQUE, 1));
38 var_dump($select1->fetchAll(PDO::FETCH_COLUMN|PDO::FETCH_UNIQUE, 2));
41 var_dump($select2->fetchAll(PDO::FETCH_COLUMN|PDO::FETCH_GROUP));
H A Dbug_38253.phpt24 var_dump($stmt->fetchAll());
29 var_dump($stmt->fetchAll());
39 Warning: PDOStatement::fetchAll(): SQLSTATE[HY000]: General error: No fetch class specified in %s o…
41 Warning: PDOStatement::fetchAll(): SQLSTATE[HY000]: General error%s on line %d
45 Warning: PDOStatement::fetchAll(): SQLSTATE[HY000]: General error: No fetch function specified in %…
47 Warning: PDOStatement::fetchAll(): SQLSTATE[HY000]: General error%s on line %d
H A Dpdo_011.phpt64 var_dump($select1->fetchAll(PDO::FETCH_FUNC|PDO::FETCH_GROUP, 'callback'));
67 var_dump($select2->fetchAll(PDO::FETCH_FUNC, 'callback'));
70 var_dump($select2->fetchAll(PDO::FETCH_FUNC, array('Test1','factory')));
73 var_dump($select2->fetchAll(PDO::FETCH_FUNC, array($f, 'factory')));
77 var_dump($derived->fetchAll(PDO::FETCH_FUNC, array($derived, 'retrieve')));
79 var_dump($derived->fetchAll(PDO::FETCH_FUNC, array($derived, 'reTrieve')));
81 var_dump($derived->fetchAll(PDO::FETCH_FUNC, array($derived, 'RETRIEVE')));
H A Dpdo_012.phpt25 var_dump($stmt->fetchAll());
41 var_dump($stmt->fetchAll());
47 var_dump($stmt->fetchAll());
H A Dbug_36428.phpt2 PDO Common: Bug #36428 (Incorrect error message for PDO::fetchAll())
22 var_dump($res->fetchAll(PDO::FETCH_CLASS|PDO::FETCH_PROPS_LATE, 'SimpleXMLElement', array('<root/>'…
H A Dbug_43139.phpt2 PDO Common: Bug #43139 (PDO ignore ATTR_DEFAULT_FETCH_MODE in some cases with fetchAll())
27 var_dump($db->query("select 0 as abc, 1 as xyz, 2 as def $from")->fetchAll(PDO::FETCH_GROUP));
/php-src/ext/pdo_sqlite/tests/
H A Dpdo_fetch_func_001.phpt15 $st->fetchAll(
23 var_dump($st->fetchAll(PDO::FETCH_FUNC, 'strtoupper'));
27 var_dump($st->fetchAll(PDO::FETCH_FUNC, 'nothing'));
34 var_dump($st->fetchAll(PDO::FETCH_FUNC, ''));
41 var_dump($st->fetchAll(PDO::FETCH_FUNC, NULL));
48 var_dump($st->fetchAll(PDO::FETCH_FUNC, 1));
55 var_dump($st->fetchAll(PDO::FETCH_FUNC, array('self', 'foo')));
87 var_dump($st->fetchAll(PDO::FETCH_FUNC, array('bar', 'test1')));
91 var_dump($st->fetchAll(PDO::FETCH_FUNC, array('bar', 'test2')));
98 var_dump($st->fetchAll(PDO::FETCH_FUNC, array('bar', 'test3')));
[all …]
H A Dbug78192.phpt19 var_dump($stmt->fetchAll(\PDO::FETCH_ASSOC));
23 var_dump($stmt->fetchAll(\PDO::FETCH_ASSOC));
/php-src/ext/pdo_dblib/tests/
H A Dbug_69592.phpt24 var_dump($stmt->fetchAll(PDO::FETCH_ASSOC));
26 var_dump($stmt->fetchAll(PDO::FETCH_ASSOC));
34 var_dump($stmt->fetchAll(PDO::FETCH_ASSOC));
36 var_dump($stmt->fetchAll(PDO::FETCH_ASSOC));
H A Dbug_69757.phpt23 $resultset1 = $stmt->fetchAll(PDO::FETCH_ASSOC);
27 $resultset2 = $stmt->fetchAll(PDO::FETCH_ASSOC);
/php-src/ext/pdo_pgsql/tests/
H A Dgh16314.phpt18 var_dump($pdo->query('SELECT 1;')->fetchAll());
21 var_dump($pdo->query('SELECT 1;')->fetchAll());
24 var_dump($pdo->query('SELECT 1;')->fetchAll());
27 var_dump($pdo->query('SELECT 1;')->fetchAll());
H A Dbug_33876.phpt28 print_r($res->fetchAll(PDO::FETCH_ASSOC));
35 print_r($res->fetchAll(PDO::FETCH_ASSOC));
43 print_r($res->fetchAll(PDO::FETCH_ASSOC));
50 print_r($res->fetchAll(PDO::FETCH_ASSOC));
64 print_r($res->fetchAll(PDO::FETCH_ASSOC));
71 print_r($res->fetchAll(PDO::FETCH_ASSOC));
79 print_r($res->fetchAll(PDO::FETCH_ASSOC));
86 print_r($res->fetchAll(PDO::FETCH_ASSOC));
H A Dgh15287.phpt74 …// No fetchAll because we want the memory of the result of the FORElast call (the last one is empt…
97 [ 'query', 'fetchAll' ],
99 [ 'prepare', 'fetchAll' ],
118 case 'fetchAll':
119 $res = $stmt->fetchAll();
134 display($pdo->query("select * from t2")->fetchAll());
161 === with query / fetchAll ===
169 === with prepare / fetchAll ===

Completed in 30 milliseconds

123456