Home
last modified time | relevance | path

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

1234

/php-src/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-src/ext/pdo_mysql/tests/
H A Dpdo_mysql_begintransaction.phpt24 $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()));
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()));
173 $db->errorCode(), implode(' ', $db->errorInfo()));
[all …]
H A Dpdo_mysql_stmt_bindvalue.phpt29 $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 Dpdo_mysql_prepare_native_clear_error.phpt29 if ('00000' !== $stmt->errorCode())
31 var_export($stmt->errorCode(), true),
36 if ('00000' !== $stmt->errorCode())
38 var_export($stmt->errorCode(), true),
49 if ('00000' !== $stmt->errorCode())
51 var_export($stmt->errorCode(), true),
56 if ('00000' !== $stmt->errorCode())
58 var_export($stmt->errorCode(), true),
63 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
H A Dpdo_mysql_errorcode.phpt2 MySQL PDO->errorCode()
19 $code = $obj->errorCode();
30 PDO->errorCode() will not reflect that error. You must call
31 PDOStatement->errorCode() to return the error code for an
34 $code = $db->errorCode();
74 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
H A Dpdo_mysql_prepare_native_dup_named_placeholder.phpt28 if ('00000' !== $stmt->errorCode())
30 var_export($stmt->errorCode(), true),
47 if ('00000' !== $stmt->errorCode())
49 var_export($stmt->errorCode(), true),
68 if ('00000' !== $stmt->errorCode())
70 var_export($stmt->errorCode(), true),
82 if ('00000' !== $stmt->errorCode())
84 var_export($stmt->errorCode(), true),
89 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
H A Dpdo_mysql_stmt_errorcode.phpt2 MySQL PDOStatement->errorCode();
25 var_dump($stmt->errorCode());
30 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
41 var_dump($stmt->errorCode());
45 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
H A Dpdo_mysql_prepare_native_placeholder_everywhere.phpt26 if ('00000' !== $stmt->errorCode())
28 var_export($stmt->errorCode(), true),
40 if ('00000' !== $stmt->errorCode())
42 var_export($stmt->errorCode(), true),
49 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
H A Dpdo_mysql_attr_server_info.phpt15 assert(('' == $db->errorCode()) || ('00000' == $db->errorCode()));
31 printf("[004] Cannot run SHOW STATUS, [%s]\n", $db->errorCode());
34 printf("[005] Unable to fetch uptime, [%s]\n", $db->errorCode());
H A Dpdo_mysql_attr_case.phpt34 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 Dpdo_mysql_prepare_emulated_placeholder_everywhere.phpt29 if ('00000' !== $stmt->errorCode()) {
31 var_export($stmt->errorCode(), true),
44 if ('00000' !== $stmt->errorCode())
46 var_export($stmt->errorCode(), true),
52 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
H A Dpdo_mysql_attr_errmode.phpt42 $code = $db->errorCode();
48 … printf("[006] Code and info should be identical, got errorCode() = %s, errorInfo()[0] = %s\n",
58 $code = $db->errorCode();
64 … printf("[010] Code and info should be identical, got errorCode() = %s, errorInfo()[0] = %s\n",
76 $code = $db->errorCode();
82 … printf("[014] Code and info should be identical, got errorCode() = %s, errorInfo()[0] = %s\n",
90 printf("[017] Exception code '%s' differs from errorCode '%s'\n",
113 $code = $db->errorCode();
119 … printf("[022] Code and info should be identical, got errorCode() = %s, errorInfo()[0] = %s\n",
127 printf("[025] Exception code '%s' differs from errorCode '%s'\n",
H A Dpdo_mysql_prepare_emulated_anonymous.phpt25 if ('00000' !== $stmt->errorCode())
27 var_export($stmt->errorCode(), true),
44 if ('00000' !== $stmt->errorCode())
46 var_export($stmt->errorCode(), true),
55 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
H A Dpdo_mysql_attr_driver_name.phpt15 assert(('' == $db->errorCode()) || ('00000' == $db->errorCode()));
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_stmt_bindparam.phpt26 $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 Dpdo_mysql_prepare_native_named_placeholder.phpt31 if ('00000' !== $stmt->errorCode())
33 var_export($stmt->errorCode(), true),
51 if ('00000' !== $stmt->errorCode())
53 var_export($stmt->errorCode(), true),
63 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
H A Dpdo_mysql_pconnect.phpt53 if ('00000' == $db1->errorCode()) {
57 if ('HY000' != $db1->errorCode())
58 printf("[004] Wrong error code %s\n", $db1->errorCode());
95 (is_object($db1)) ? $db1->errorCode() : 'n/a',
97 (is_object($db2)) ? $db2->errorCode() : 'n/a',
H A Dpdo_mysql_attr_client_version.phpt15 assert(('' == $db->errorCode()) || ('00000' == $db->errorCode()));
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_stmt_bindcolumn.phpt29 $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()));
H A Dpdo_mysql_local_infile_directory_denied.phpt22 $db->errorCode(), implode(' ', $db->errorInfo()));
27 $offset, $sql, $db->errorCode(), implode(' ', $db->errorInfo()));
61 $db->errorCode(), implode(' ', $db->errorInfo()));
H A Dpdo_mysql_exec.phpt18 $db->errorCode(), implode(' ', $db->errorInfo()));
23 $offset, $sql, $db->errorCode(), implode(' ', $db->errorInfo()));
52 printf("[016] [%s] %s\n", $db->errorCode(), implode(' ', $db->errorInfo()));
62 $db->errorCode(), implode(' ', $db->errorInfo()));
104 $db->errorCode(), implode(' ', $db->errorInfo()));
142 $db->errorCode(), implode(' ', $db->errorInfo()));
156 $db->errorCode(), var_export($db->errorInfo(), true));
164 $db->errorCode(), implode(' ', $db->errorInfo()));
/php-src/ext/intl/spoofchecker/
H A Dspoofchecker.stub.php57 * @param int $errorCode
60 public function isSuspicious(string $string, &$errorCode = null): bool {} argument
63 * @param int $errorCode
66 public function areConfusable(string $string1, string $string2, &$errorCode = null): bool {} argument
/php-src/ext/pdo_dblib/tests/
H A Dtimeout.phpt28 if ($stmt->errorCode() != '00000') {
42 if ($stmt->errorCode() != '00000') {
54 if ($stmt->errorCode() != '00000') {
66 if ($stmt->errorCode() != '00000') {

Completed in 25 milliseconds

1234