/php-src/ext/pdo/tests/ |
H A D | pdo_039.phpt | 2 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 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())); 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 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 | pdo_mysql_prepare_native_clear_error.phpt | 29 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 D | pdo_mysql_errorcode.phpt | 2 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 D | pdo_mysql_prepare_native_dup_named_placeholder.phpt | 28 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 D | pdo_mysql_stmt_errorcode.phpt | 2 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 D | pdo_mysql_prepare_native_placeholder_everywhere.phpt | 26 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 D | pdo_mysql_attr_server_info.phpt | 15 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 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_prepare_emulated_placeholder_everywhere.phpt | 29 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 D | pdo_mysql_attr_errmode.phpt | 42 $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 D | pdo_mysql_prepare_emulated_anonymous.phpt | 25 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 D | pdo_mysql_attr_driver_name.phpt | 15 assert(('' == $db->errorCode()) || ('00000' == $db->errorCode()));
|
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_prepare_native_named_placeholder.phpt | 31 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 D | pdo_mysql_pconnect.phpt | 53 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 D | pdo_mysql_attr_client_version.phpt | 15 assert(('' == $db->errorCode()) || ('00000' == $db->errorCode()));
|
H A D | pdo_mysql_errorinfo.phpt | 42 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 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()));
|
H A D | pdo_mysql_local_infile_directory_denied.phpt | 22 $db->errorCode(), implode(' ', $db->errorInfo())); 27 $offset, $sql, $db->errorCode(), implode(' ', $db->errorInfo())); 61 $db->errorCode(), implode(' ', $db->errorInfo()));
|
H A D | pdo_mysql_exec.phpt | 18 $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 D | spoofchecker.stub.php | 57 * @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 D | timeout.phpt | 28 if ($stmt->errorCode() != '00000') { 42 if ($stmt->errorCode() != '00000') { 54 if ($stmt->errorCode() != '00000') { 66 if ($stmt->errorCode() != '00000') {
|