Home
last modified time | relevance | path

Searched refs:errorCode (Results 1 – 25 of 78) sorted by relevance

1234

/PHP-8.2/ext/pdo/tests/
H A Dpdo_039.phpt2 PDO Common: errorCode()
32 var_dump($conn->errorCode());
38 var_dump($conn->errorCode());
39 var_dump($conn->errorCode());
42 var_dump($conn->errorCode());
43 var_dump($stmt->errorCode());
46 var_dump($stmt->errorCode());
47 var_dump($stmt->errorCode());
/PHP-8.2/ext/pdo_mysql/tests/
H A Dpdo_mysql_begintransaction.phpt25 $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()));
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()));
174 $db->errorCode(), implode(' ', $db->errorInfo()));
[all …]
H A Dpdo_mysql_stmt_bindvalue.phpt28 $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 Dpdo_mysql_prepare_native_clear_error.phpt32 if ('00000' !== $stmt->errorCode())
34 var_export($stmt->errorCode(), true),
39 if ('00000' !== $stmt->errorCode())
41 var_export($stmt->errorCode(), true),
52 if ('00000' !== $stmt->errorCode())
54 var_export($stmt->errorCode(), true),
59 if ('00000' !== $stmt->errorCode())
61 var_export($stmt->errorCode(), true),
68 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
H A Dpdo_mysql_errorcode.phpt2 MySQL PDO->errorCode()
19 $code = $obj->errorCode();
32 PDO->errorCode() will not reflect that error. You must call
33 PDOStatement->errorCode() to return the error code for an
36 $code = $db->errorCode();
76 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
H A Dpdo_mysql_prepare_native_dup_named_placeholder.phpt31 if ('00000' !== $stmt->errorCode())
33 var_export($stmt->errorCode(), true),
50 if ('00000' !== $stmt->errorCode())
52 var_export($stmt->errorCode(), true),
71 if ('00000' !== $stmt->errorCode())
73 var_export($stmt->errorCode(), true),
85 if ('00000' !== $stmt->errorCode())
87 var_export($stmt->errorCode(), true),
94 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
H A Dpdo_mysql_stmt_errorcode.phpt2 MySQL PDOStatement->errorCode();
26 var_dump($stmt->errorCode());
31 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
42 var_dump($stmt->errorCode());
46 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
H A Dpdo_mysql_attr_case.phpt33 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 Dpdo_mysql_attr_server_info.phpt16 assert(('' == $db->errorCode()) || ('00000' == $db->errorCode()));
32 printf("[004] Cannot run SHOW STATUS, [%s]\n", $db->errorCode());
35 printf("[005] Unable to fetch uptime, [%s]\n", $db->errorCode());
H A Dpdo_mysql_prepare_native_placeholder_everywhere.phpt28 if ('00000' !== $stmt->errorCode())
30 var_export($stmt->errorCode(), true),
42 if ('00000' !== $stmt->errorCode())
44 var_export($stmt->errorCode(), true),
51 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
H A Dpdo_mysql_prepare_emulated_placeholder_everywhere.phpt30 if ('00000' !== $stmt->errorCode()) {
32 var_export($stmt->errorCode(), true),
45 if ('00000' !== $stmt->errorCode())
47 var_export($stmt->errorCode(), true),
53 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
H A Dpdo_mysql_attr_errmode.phpt43 $code = $db->errorCode();
49 … printf("[006] Code and info should be identical, got errorCode() = %s, errorInfo()[0] = %s\n",
59 $code = $db->errorCode();
65 … printf("[010] Code and info should be identical, got errorCode() = %s, errorInfo()[0] = %s\n",
78 $code = $db->errorCode();
84 … printf("[014] Code and info should be identical, got errorCode() = %s, errorInfo()[0] = %s\n",
92 printf("[017] Exception code '%s' differs from errorCode '%s'\n",
116 $code = $db->errorCode();
122 … printf("[022] Code and info should be identical, got errorCode() = %s, errorInfo()[0] = %s\n",
130 printf("[025] Exception code '%s' differs from errorCode '%s'\n",
H A Dpdo_mysql_stmt_bindparam.phpt24 $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 Dpdo_mysql_prepare_emulated_anonymous.phpt27 if ('00000' !== $stmt->errorCode())
29 var_export($stmt->errorCode(), true),
46 if ('00000' !== $stmt->errorCode())
48 var_export($stmt->errorCode(), true),
57 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
H A Dpdo_mysql_stmt_closecursor_empty.phpt30 $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 Dpdo_mysql_attr_driver_name.phpt16 assert(('' == $db->errorCode()) || ('00000' == $db->errorCode()));
H A Dpdo_mysql_prepare_native_named_placeholder.phpt33 if ('00000' !== $stmt->errorCode())
35 var_export($stmt->errorCode(), true),
53 if ('00000' !== $stmt->errorCode())
55 var_export($stmt->errorCode(), true),
65 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
H A Dpdo_mysql_pconnect.phpt54 if ('00000' == $db1->errorCode()) {
58 if ('HY000' != $db1->errorCode())
59 printf("[004] Wrong error code %s\n", $db1->errorCode());
96 (is_object($db1)) ? $db1->errorCode() : 'n/a',
98 (is_object($db2)) ? $db2->errorCode() : 'n/a',
H A Dpdo_mysql_errorinfo.phpt42 PDO->errorCode() will not reflect that error. You must call
43 PDOStatement->errorCode() to return the error code for an
46 $code = $db->errorCode();
86 $offset + 19, $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
H A Dpdo_mysql_attr_client_version.phpt16 assert(('' == $db->errorCode()) || ('00000' == $db->errorCode()));
H A Dpdo_mysql_stmt_bindcolumn.phpt28 $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 Dpdo_mysql_exec.phpt20 $db->errorCode(), implode(' ', $db->errorInfo()));
26 $offset, $sql, $db->errorCode(), implode(' ', $db->errorInfo()));
55 printf("[016] [%s] %s\n", $db->errorCode(), implode(' ', $db->errorInfo()));
66 $db->errorCode(), implode(' ', $db->errorInfo()));
108 $db->errorCode(), implode(' ', $db->errorInfo()));
145 $db->errorCode(), implode(' ', $db->errorInfo()));
160 $db->errorCode(), var_export($db->errorInfo(), true));
170 $db->errorCode(), implode(' ', $db->errorInfo()));
H A Dpdo_mysql_local_infile_directory_denied.phpt22 $db->errorCode(), implode(' ', $db->errorInfo()));
27 $offset, $sql, $db->errorCode(), implode(' ', $db->errorInfo()));
64 $db->errorCode(), implode(' ', $db->errorInfo()));
/PHP-8.2/ext/intl/spoofchecker/
H A Dspoofchecker.stub.php79 * @param int $errorCode
82 public function isSuspicious(string $string, &$errorCode = null): bool {} argument
85 * @param int $errorCode
88 public function areConfusable(string $string1, string $string2, &$errorCode = null): bool {} argument
/PHP-8.2/ext/pdo_dblib/tests/
H A Dtimeout.phpt25 if ($stmt->errorCode() != '00000') {
39 if ($stmt->errorCode() != '00000') {
51 if ($stmt->errorCode() != '00000') {
63 if ($stmt->errorCode() != '00000') {

Completed in 30 milliseconds

1234