/php-src/ext/pdo_sqlite/tests/ |
H A D | pdo_sqlite_extendederror_attr.phpt | 16 $errorInfo = $db->errorInfo(); 17 … SQLSTATE Error Code: (%s), Driver Specific Error Code: (%s)", $errorInfo[0], $errorInfo[1]) . PHP… 21 $errorInfo = $db->errorInfo(); 22 … SQLSTATE Error Code: (%s), Driver Specific Error Code: (%s)", $errorInfo[0], $errorInfo[1]) . PHP… 33 $errorInfo = $db->errorInfo(); 34 … SQLSTATE Error Code: (%s), Driver Specific Error Code: (%s)", $errorInfo[0], $errorInfo[1]) . PHP… 38 $errorInfo = $db->errorInfo(); 39 … SQLSTATE Error Code: (%s), Driver Specific Error Code: (%s)", $errorInfo[0], $errorInfo[1]) . PHP…
|
H A D | bug_64705.phpt | 2 Bug #64705 errorInfo property of PDOException is null when PDO::__construct() fails 11 var_dump(!empty($e->errorInfo) && is_array($e->errorInfo));
|
/php-src/ext/pdo/tests/ |
H A D | gh8626.phpt | 2 GH-8626: PDOStatement->execute() failed, then execute successfully, errorInfo() information is inco… 14 die("xfail OCI driver errorInfo is inconsistent with other PDO drivers"); 31 $errorInfo = $stmt->errorInfo(); 32 var_dump(array_slice($errorInfo, 0, 3)); // odbc, dblib 38 $errorInfo = $stmt->errorInfo(); 39 var_dump(array_slice($errorInfo, 0, 3)); // odbc, dblib
|
H A D | bug_64172.phpt | 2 PDO Common: Bug #64172 errorInfo is not properly cleaned up 26 var_dump(is_string($db->errorInfo()[0])) . "\n"; 27 var_dump(is_int($db->errorInfo()[1])) . "\n"; 28 var_dump(is_string($db->errorInfo()[2])) . "\n"; 33 var_dump($db->errorInfo()); 39 var_dump(is_string($db->errorInfo()[0])) . "\n"; 40 var_dump(is_int($db->errorInfo()[1])) . "\n"; 41 var_dump(is_string($db->errorInfo()[2])) . "\n"; 44 var_dump($db->errorInfo());
|
/php-src/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_stmt_errorinfo.phpt | 2 MySQL PDOStatement->errorInfo(); 25 var_dump($stmt->errorInfo()); 27 var_dump($stmt->errorInfo()); 33 var_dump($stmt->errorInfo()); 34 var_dump($db->errorInfo()); 38 $e->getMessage(), $db->errorInfo(), implode(' ', $db->errorInfo())); 52 var_dump($stmt->errorInfo()); 55 var_dump($stmt->errorInfo()); 56 var_dump($db->errorInfo()); 60 $e->getMessage(), $db->errorInfo(), implode(' ', $db->errorInfo()));
|
H A D | pdo_mysql_begintransaction.phpt | 24 $db->errorCode(), implode(' ', $db->errorInfo())); 39 printf("[005] [%s] %s\n", $db->errorCode(), implode(' ', $db->errorInfo())); 45 printf("[006] [%s] %s\n", $db->errorCode(), implode(' ', $db->errorInfo())); 51 printf("[008] [%s] %s\n", $db->errorCode(), implode(' ', $db->errorInfo())); 57 printf("[010] [%s] %s\n", $db->errorCode(), implode(' ', $db->errorInfo())); 114 $tmp['auto_commit'], $stmt->errorCode(), $stmt->errorInfo()); 131 $tmp['auto_commit'], $stmt->errorCode(), $stmt->errorInfo()); 140 $db->errorCode(), implode(' ', $db->errorInfo())); 156 $db->errorCode(), implode(' ', $db->errorInfo())); 169 $db->errorCode(), implode(' ', $db->errorInfo())); [all …]
|
H A D | pdo_mysql_stmt_bindvalue.phpt | 29 $stmt->errorCode(), var_export($stmt->errorInfo(), true)); 36 $stmt->errorCode(), var_export($stmt->errorInfo(), true)); 40 $stmt->errorCode(), var_export($stmt->errorInfo(), true)); 51 $stmt->errorCode(), var_export($stmt->errorInfo(), true)); 58 $stmt->errorCode(), var_export($stmt->errorInfo(), true)); 62 $stmt->errorCode(), var_export($stmt->errorInfo(), true)); 75 $stmt->errorCode(), var_export($stmt->errorInfo(), true)); 82 $stmt->errorCode(), var_export($stmt->errorInfo(), true)); 86 $stmt->errorCode(), var_export($stmt->errorInfo(), true)); 100 $stmt->errorCode(), var_export($stmt->errorInfo(), true)); [all …]
|
H A D | pecl_bug_5802.phpt | 16 $stmt = $db->prepare('insert into test_pcl_bug_5802 (bar) values(:bar)') or var_dump($db->errorInfo… 20 $stmt->execute() or var_dump($stmt->errorInfo()); 24 $stmt->execute() or var_dump($stmt->errorInfo()); 28 $stmt->execute() or var_dump($stmt->errorInfo()); 30 $stmt = $db->prepare('select * from test_pcl_bug_5802') or var_dump($db->errorInfo());
|
H A D | bug_64705.phpt | 2 Bug #64705 errorInfo property of PDOException is null when PDO::__construct() fails 11 var_dump(!empty($e->errorInfo) && is_array($e->errorInfo));
|
H A D | pdo_mysql_attr_case.phpt | 34 var_export($db->errorInfo(), true), var_export($db->errorCode(), true)); 40 var_export($db->errorInfo(), true), var_export($db->errorCode(), true)); 48 var_export($db->errorInfo(), true), var_export($db->errorCode(), true)); 52 var_export($db->errorInfo(), true), var_export($db->errorCode(), true)); 56 var_export($db->errorInfo(), true), var_export($db->errorCode(), true)); 62 var_export($db->errorInfo(), true), var_export($db->errorCode(), true)); 70 var_export($db->errorInfo(), true), var_export($db->errorCode(), true)); 76 var_export($db->errorInfo(), true), var_export($db->errorCode(), true)); 84 var_export($db->errorInfo(), true), var_export($db->errorCode(), true));
|
H A D | pdo_mysql_stmt_closecursor_empty.phpt | 30 $stmt->errorCode(), var_export($stmt->errorInfo(), true)); 37 $stmt->errorCode(), var_export($stmt->errorInfo(), true)); 41 $stmt->errorCode(), var_export($stmt->errorInfo(), true)); 59 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
|
H A D | pdo_mysql_stmt_bindparam.phpt | 26 $stmt->errorCode(), var_export($stmt->errorInfo(), true)); 33 $stmt->errorCode(), var_export($stmt->errorInfo(), true)); 37 $stmt->errorCode(), var_export($stmt->errorInfo(), true)); 59 $stmt->errorCode(), var_export($stmt->errorInfo(), true)); 63 $stmt->errorCode(), var_export($stmt->errorInfo(), true)); 72 $stmt->errorCode(), var_export($stmt->errorInfo(), true)); 76 $stmt->errorCode(), var_export($stmt->errorInfo(), true)); 117 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
|
H A D | pdo_mysql_stmt_multiquery.phpt | 20 var_dump($stmt->errorInfo()); 22 var_dump($stmt->errorInfo()); 52 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo())); 106 Fatal error: Uncaught Error: Call to a member function errorInfo() on false in %s:%d
|
H A D | pdo_mysql_prepare_native_clear_error.phpt | 32 var_export($stmt->errorInfo(), true)); 39 var_export($stmt->errorInfo(), true)); 52 var_export($stmt->errorInfo(), true)); 59 var_export($stmt->errorInfo(), true)); 63 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
|
H A D | pdo_mysql_attr_errmode.phpt | 43 $info = $db->errorInfo(); 48 … printf("[006] Code and info should be identical, got errorCode() = %s, errorInfo()[0] = %s\n", 59 $info = $db->errorInfo(); 64 … printf("[010] Code and info should be identical, got errorCode() = %s, errorInfo()[0] = %s\n", 77 $info = $db->errorInfo(); 82 … printf("[014] Code and info should be identical, got errorCode() = %s, errorInfo()[0] = %s\n", 114 $info = $db->errorInfo(); 119 … printf("[022] Code and info should be identical, got errorCode() = %s, errorInfo()[0] = %s\n",
|
H A D | pdo_mysql_stmt_bindparam_types.phpt | 29 var_export($stmt->errorInfo(), true)); 34 var_export($stmt->errorInfo(), true)); 42 var_export($stmt->errorInfo(), true)); 47 var_export($stmt->errorInfo(), true)); 53 var_export($stmt->errorInfo(), true)); 69 var_export($stmt->errorInfo(), true)); 155 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
|
H A D | bug_38546.phpt | 44 var_dump($st->errorInfo()); 70 var_dump($st->errorInfo()); 96 var_dump($st->errorInfo()); 123 var_dump($st->errorInfo()); 150 var_dump($st->errorInfo()); 177 var_dump($st->errorInfo());
|
H A D | pdo_mysql_prepare_native_dup_named_placeholder.phpt | 31 var_export($stmt->errorInfo(), true)); 50 var_export($stmt->errorInfo(), true)); 71 var_export($stmt->errorInfo(), true)); 85 var_export($stmt->errorInfo(), true)); 89 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
|
H A D | bug_41997.phpt | 24 var_dump($stmt->errorInfo()); 28 var_dump($stmt->errorInfo());
|
H A D | bug_45120.phpt | 18 printf("[001] Execute has failed: %s\n", var_export($stmt->errorInfo(), true)); 25 printf("[003] Execute has failed: %s\n", var_export($stmt->errorInfo(), true));
|
H A D | pdo_mysql_stmt_bindcolumn.phpt | 29 $stmt->errorCode(), var_export($stmt->errorInfo(), true)); 33 $stmt->errorCode(), var_export($stmt->errorInfo(), true)); 69 $stmt->errorCode(), var_export($stmt->errorInfo(), true)); 73 $stmt->errorCode(), var_export($stmt->errorInfo(), true)); 101 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
|
/php-src/ext/pdo_pgsql/tests/ |
H A D | bug_64705.phpt | 2 Bug #64705 errorInfo property of PDOException is null when PDO::__construct() fails 11 var_dump(!empty($e->errorInfo) && is_array($e->errorInfo));
|
H A D | bug62593.phpt | 24 $errors[] = $query->errorInfo(); 29 $errors[] = $query->errorInfo(); 36 $errors[] = $query->errorInfo(); 43 $errors[] = $query->errorInfo(); 49 $errors[] = $query->errorInfo();
|
H A D | bug_33876.phpt | 26 print_r($res->errorInfo()); 33 print_r($res->errorInfo()); 41 print_r($res->errorInfo()); 48 print_r(normalizeErrorInfo($res->errorInfo())); 62 print_r($res->errorInfo()); 69 print_r($res->errorInfo()); 77 print_r($res->errorInfo()); 84 print_r(normalizeErrorInfo($res->errorInfo()));
|
/php-src/ext/pdo/ |
H A D | pdo.stub.php | 9 public ?array $errorInfo = null; variable in PDOException
|