/php-src/ext/pdo_mysql/tests/ |
H A D | bug80458.phpt | 21 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 D | gh16314.phpt | 20 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 D | pdo_mysql_stmt_unbuffered_2050.phpt | 29 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 D | pdo_mysql_prepare_emulated_binary.phpt | 26 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 D | pdo_mysql_prepare_match_against.phpt | 21 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 D | bug63185.phpt | 27 var_dump($st->fetchAll()); 37 var_dump($st->fetchAll()); 43 var_dump($st->fetchAll());
|
H A D | pdo_mysql_stmt_nextrowset.phpt | 38 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 D | pdo_mysql_stmt_fetch_serialize_simple.phpt | 44 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 D | pdo_mysql_attr_multi_statements.phpt | 34 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 D | pdo_mysql_prepare_native_anonymous_placeholder.phpt | 107 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 D | native_types.phpt | 22 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 D | bug75177.phpt | 20 $ret = $pdo->query("SELECT * FROM test_75177")->fetchAll(); 26 $ret = $pdo->query("SELECT * FROM test_75177")->fetchAll();
|
/php-src/ext/pdo/tests/ |
H A D | pdo_015.phpt | 26 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 D | bug_38253.phpt | 24 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 D | pdo_011.phpt | 64 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 D | pdo_012.phpt | 25 var_dump($stmt->fetchAll()); 41 var_dump($stmt->fetchAll()); 47 var_dump($stmt->fetchAll());
|
H A D | bug_36428.phpt | 2 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 D | bug_43139.phpt | 2 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 D | pdo_fetch_func_001.phpt | 15 $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 D | bug78192.phpt | 19 var_dump($stmt->fetchAll(\PDO::FETCH_ASSOC)); 23 var_dump($stmt->fetchAll(\PDO::FETCH_ASSOC));
|
/php-src/ext/pdo_dblib/tests/ |
H A D | bug_69592.phpt | 24 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 D | bug_69757.phpt | 23 $resultset1 = $stmt->fetchAll(PDO::FETCH_ASSOC); 27 $resultset2 = $stmt->fetchAll(PDO::FETCH_ASSOC);
|
/php-src/ext/pdo_pgsql/tests/ |
H A D | gh16314.phpt | 18 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 D | bug_33876.phpt | 28 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 D | gh15287.phpt | 74 …// 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 ===
|