/PHP-8.1/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-8.1/ext/pdo/tests/ |
H A D | gh8626.phpt | 2 GH-8626: PDOStatement->execute() failed, then execute successfully, errorInfo() information is inco… 13 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 27 var_dump(is_string($db->errorInfo()[0])) . "\n"; 28 var_dump(is_int($db->errorInfo()[1])) . "\n"; 29 var_dump(is_string($db->errorInfo()[2])) . "\n"; 34 var_dump($db->errorInfo()); 40 var_dump(is_string($db->errorInfo()[0])) . "\n"; 41 var_dump(is_int($db->errorInfo()[1])) . "\n"; 42 var_dump(is_string($db->errorInfo()[2])) . "\n"; 45 var_dump($db->errorInfo());
|
/PHP-8.1/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_begintransaction.phpt | 25 $db->errorCode(), implode(' ', $db->errorInfo())); 40 printf("[005] [%s] %s\n", $db->errorCode(), implode(' ', $db->errorInfo())); 46 printf("[006] [%s] %s\n", $db->errorCode(), implode(' ', $db->errorInfo())); 52 printf("[008] [%s] %s\n", $db->errorCode(), implode(' ', $db->errorInfo())); 58 printf("[010] [%s] %s\n", $db->errorCode(), implode(' ', $db->errorInfo())); 115 $tmp['auto_commit'], $stmt->errorCode(), $stmt->errorInfo()); 132 $tmp['auto_commit'], $stmt->errorCode(), $stmt->errorInfo()); 141 $db->errorCode(), implode(' ', $db->errorInfo())); 157 $db->errorCode(), implode(' ', $db->errorInfo())); 170 $db->errorCode(), implode(' ', $db->errorInfo())); [all …]
|
H A D | pdo_mysql_stmt_errorinfo.phpt | 2 MySQL PDOStatement->errorInfo(); 24 var_dump($stmt->errorInfo()); 26 var_dump($stmt->errorInfo()); 32 var_dump($stmt->errorInfo()); 33 var_dump($db->errorInfo()); 37 $e->getMessage(), $db->errorInfo(), implode(' ', $db->errorInfo())); 51 var_dump($stmt->errorInfo()); 54 var_dump($stmt->errorInfo()); 55 var_dump($db->errorInfo()); 59 $e->getMessage(), $db->errorInfo(), implode(' ', $db->errorInfo()));
|
H A D | pdo_mysql_stmt_bindvalue.phpt | 28 $stmt->errorCode(), var_export($stmt->errorInfo(), true)); 35 $stmt->errorCode(), var_export($stmt->errorInfo(), true)); 39 $stmt->errorCode(), var_export($stmt->errorInfo(), true)); 50 $stmt->errorCode(), var_export($stmt->errorInfo(), true)); 57 $stmt->errorCode(), var_export($stmt->errorInfo(), true)); 61 $stmt->errorCode(), var_export($stmt->errorInfo(), true)); 74 $stmt->errorCode(), var_export($stmt->errorInfo(), true)); 81 $stmt->errorCode(), var_export($stmt->errorInfo(), true)); 85 $stmt->errorCode(), var_export($stmt->errorInfo(), true)); 99 $stmt->errorCode(), var_export($stmt->errorInfo(), true)); [all …]
|
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 | pecl_bug_5802.phpt | 18 $stmt = $db->prepare('insert into test (bar) values(:bar)') or var_dump($db->errorInfo()); 22 $stmt->execute() or var_dump($stmt->errorInfo()); 26 $stmt->execute() or var_dump($stmt->errorInfo()); 30 $stmt->execute() or var_dump($stmt->errorInfo()); 32 $stmt = $db->prepare('select * from test') or var_dump($db->errorInfo());
|
H A D | pdo_mysql_attr_case.phpt | 33 var_export($db->errorInfo(), true), var_export($db->errorCode(), true)); 39 var_export($db->errorInfo(), true), var_export($db->errorCode(), true)); 47 var_export($db->errorInfo(), true), var_export($db->errorCode(), true)); 51 var_export($db->errorInfo(), true), var_export($db->errorCode(), true)); 55 var_export($db->errorInfo(), true), var_export($db->errorCode(), true)); 61 var_export($db->errorInfo(), true), var_export($db->errorCode(), true)); 69 var_export($db->errorInfo(), true), var_export($db->errorCode(), true)); 75 var_export($db->errorInfo(), true), var_export($db->errorCode(), true)); 83 var_export($db->errorInfo(), true), var_export($db->errorCode(), true));
|
H A D | pdo_mysql_stmt_bindparam.phpt | 24 $stmt->errorCode(), var_export($stmt->errorInfo(), true)); 31 $stmt->errorCode(), var_export($stmt->errorInfo(), true)); 35 $stmt->errorCode(), var_export($stmt->errorInfo(), true)); 57 $stmt->errorCode(), var_export($stmt->errorInfo(), true)); 61 $stmt->errorCode(), var_export($stmt->errorInfo(), true)); 70 $stmt->errorCode(), var_export($stmt->errorInfo(), true)); 74 $stmt->errorCode(), var_export($stmt->errorInfo(), true)); 115 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
|
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_multiquery.phpt | 17 var_dump($stmt->errorInfo()); 19 var_dump($stmt->errorInfo()); 50 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo())); 103 Fatal error: Uncaught Error: Call to a member function errorInfo() on bool in %s:%d
|
H A D | pdo_mysql_prepare_native_clear_error.phpt | 35 var_export($stmt->errorInfo(), true)); 42 var_export($stmt->errorInfo(), true)); 55 var_export($stmt->errorInfo(), true)); 62 var_export($stmt->errorInfo(), true)); 68 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
|
H A D | pdo_mysql_attr_errmode.phpt | 44 $info = $db->errorInfo(); 49 … printf("[006] Code and info should be identical, got errorCode() = %s, errorInfo()[0] = %s\n", 60 $info = $db->errorInfo(); 65 … printf("[010] Code and info should be identical, got errorCode() = %s, errorInfo()[0] = %s\n", 79 $info = $db->errorInfo(); 84 … printf("[014] Code and info should be identical, got errorCode() = %s, errorInfo()[0] = %s\n", 117 $info = $db->errorInfo(); 122 … printf("[022] Code and info should be identical, got errorCode() = %s, errorInfo()[0] = %s\n",
|
H A D | pdo_mysql_stmt_bindparam_types.phpt | 33 var_export($stmt->errorInfo(), true)); 38 var_export($stmt->errorInfo(), true)); 46 var_export($stmt->errorInfo(), true)); 51 var_export($stmt->errorInfo(), true)); 57 var_export($stmt->errorInfo(), true)); 73 var_export($stmt->errorInfo(), true)); 163 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
|
H A D | pdo_mysql_prepare_native_dup_named_placeholder.phpt | 34 var_export($stmt->errorInfo(), true)); 53 var_export($stmt->errorInfo(), true)); 74 var_export($stmt->errorInfo(), true)); 88 var_export($stmt->errorInfo(), true)); 94 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
|
H A D | pdo_mysql_stmt_bindcolumn.phpt | 28 $stmt->errorCode(), var_export($stmt->errorInfo(), true)); 32 $stmt->errorCode(), var_export($stmt->errorInfo(), true)); 68 $stmt->errorCode(), var_export($stmt->errorInfo(), true)); 72 $stmt->errorCode(), var_export($stmt->errorInfo(), true)); 100 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
|
H A D | pdo_mysql_stmt_blobfromsteam.phpt | 61 printf("[%03d + 4] %s\n", $offset, var_export($db->errorInfo(), true)); 78 var_export($db->errorInfo(), true)); 83 … printf("[%03d + 7] Failed to INSERT data, %s\n", $offset, var_export($stmt->errorInfo(), true)); 103 printf("[%03d + 9] %s\n", $offset, var_export($stmt->errorInfo(), true)); 134 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
|
H A D | pdo_mysql_fetch_both.phpt | 45 $e->getMessage(), $db->errroCode(), implode(' ', $db->errorInfo())); 57 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
|
/PHP-8.1/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 | 25 $errors[] = $query->errorInfo(); 30 $errors[] = $query->errorInfo(); 37 $errors[] = $query->errorInfo(); 44 $errors[] = $query->errorInfo(); 50 $errors[] = $query->errorInfo();
|
H A D | bug_33876.phpt | 28 print_r($res->errorInfo()); 35 print_r($res->errorInfo()); 43 print_r($res->errorInfo()); 50 print_r(normalizeErrorInfo($res->errorInfo())); 64 print_r($res->errorInfo()); 71 print_r($res->errorInfo()); 79 print_r($res->errorInfo()); 86 print_r(normalizeErrorInfo($res->errorInfo()));
|
/PHP-8.1/ext/pdo/ |
H A D | pdo.stub.php | 9 public ?array $errorInfo = null; variable in PDOException
|
/PHP-8.1/ext/pdo_oci/tests/ |
H A D | oci_success_with_info.phpt | 79 var_dump($conn->errorInfo()); 87 var_dump($conn->errorInfo()); 91 var_dump($conn->errorInfo());
|