Home
last modified time | relevance | path

Searched refs:errors (Results 1 – 25 of 267) sorted by relevance

1234567891011

/PHP-8.1/ext/pdo_pgsql/tests/
H A Dbug62593.phpt19 $errors = array();
25 $errors[] = $query->errorInfo();
30 $errors[] = $query->errorInfo();
37 $errors[] = $query->errorInfo();
44 $errors[] = $query->errorInfo();
50 $errors[] = $query->errorInfo();
53 $expect = 'No errors found';
55 foreach ($errors as $error)
69 No errors found
/PHP-8.1/ext/mysqli/tests/
H A Dbug47050.phpt21 $links = $errors = $reject = $all_links;
22 mysqli_poll($links, $errors, $reject, 1);
25 echo "errors: ", sizeof($errors), "\n";
33 errors: 0
H A Dmysqli_poll_kill.phpt37 $errors = array($link);
58 if (!is_array($errors) || !empty($errors))
59 …printf("[006] Expecting non-empty array got %s/%s\n", gettype($errors), var_export($errors, true));
66 $errors = array($link);
72 if (!empty($errors))
96 $errors = array($link, $link);
100 if (!empty($errors)) {
101 foreach ($errors as $mysqli) {
154 $errors = array($link);
175 if (!is_array($errors) || !empty($errors))
[all …]
H A Dmysqli_poll.phpt74 foreach ($errors as $mysqli)
87 $errors = array($link);
89 poll_async(12, $link, $links, $errors, $reject, 0, false);
94 $errors = array($link);
96 poll_async(13, $link, $links, $errors, $reject, 0, true);
103 $errors = array($link, $link);
105 poll_async(14, $link, $links, $errors, $reject, 0, false);
111 $errors = array($link, $link);
113 poll_async(15, $link, $links, $errors, $reject, 0, false);
118 $errors = array($link);
[all …]
H A Dmysqli_poll_reference.phpt48 $links = $errors = $reject = array($mysqli1, $mysqli2);
49 if (0 == ($ready = mysqli_poll($links, $errors, $reject, 0, 50000))) {
78 $links = $errors = array($mysqli1, $mysqli2);
80 if (0 == ($ready = mysqli_poll($links, $errors, $reject, 0, 50000))) {
109 $errors = $reject = array($mysqli1, $mysqli2);
110 if (0 == ($ready = mysqli_poll($links, $errors, $reject, 0, 50000))) {
124 // This is bogus code and bogus usage - OK to throw no errors!
139 $links = $errors = $reject = array($mysqli1, $mysqli2);
152 foreach ($errors as $link) {
181 $links = $errors = $reject = $all;
[all …]
H A Dmysqli_reap_async_query.phpt29 function poll_async($offset, $link, $links, $errors, $reject, $exp_ready, $use_oo_syntax) {
31 if ($exp_ready !== ($tmp = mysqli_poll($links, $errors, $reject, 0, 50 * 1000)))
51 foreach ($errors as $mysqli)
65 $errors = array($link);
67 poll_async(12, $link, $links, $errors, $reject, 1, false);
73 $errors = array($link);
75 poll_async(13, $link, $links, $errors, $reject, 1, true);
/PHP-8.1/ext/date/tests/
H A Ddate-lenient.phpt32 [errors] => Array
55 [errors] => Array
77 [errors] => Array
99 [errors] => Array
120 [errors] => Array
141 [errors] => Array
H A Ddate-lenient-create.phpt40 [errors] => Array
62 [errors] => Array
83 [errors] => Array
104 [errors] => Array
124 [errors] => Array
144 [errors] => Array
H A Ddate_parse_001.phpt40 ["errors"]=>
68 ["errors"]=>
96 ["errors"]=>
134 ["errors"]=>
162 ["errors"]=>
190 ["errors"]=>
218 ["errors"]=>
256 ["errors"]=>
292 ["errors"]=>
H A Dbug51866.phpt38 ["errors"]=>
66 ["errors"]=>
92 ["errors"]=>
116 ["errors"]=>
133 ["errors"]=>
159 ["errors"]=>
H A Ddate_parse_basic1.phpt39 ["errors"]=>
67 ["errors"]=>
95 ["errors"]=>
H A Ddate-parse-by-format001.phpt25 [errors] => Array
46 [errors] => Array
H A Dbug43808.phpt27 ["errors"]=>
43 ["errors"]=>
/PHP-8.1/ext/xmlreader/tests/
H A Dbug64230.phpt2 Bug #64230 (XMLReader does not suppress errors)
16 echo "Internal errors TRUE\n";
25 echo "Internal errors FALSE\n";
38 Internal errors TRUE
41 Internal errors FALSE
/PHP-8.1/ext/date/lib/
H A Dparse_iso_intervals.re91 s->errors->error_count++;
92 …s->errors->error_messages = timelib_realloc(s->errors->error_messages, s->errors->error_count * si…
93 s->errors->error_messages[s->errors->error_count - 1].position = s->tok ? s->tok - s->str : 0;
94 s->errors->error_messages[s->errors->error_count - 1].character = s->tok ? *s->tok : 0;
95 s->errors->error_messages[s->errors->error_count - 1].message = timelib_strdup(error);
340 in.errors->warning_count = 0;
342 in.errors->error_count = 0;
355 if (errors) {
356 *errors = in.errors;
420 if (errors) {
[all …]
H A Dparse_iso_intervals.c77 timelib_error_container *errors; member
93 s->errors->error_count++; in add_error()
94 …s->errors->error_messages = timelib_realloc(s->errors->error_messages, s->errors->error_count * si… in add_error()
95 s->errors->error_messages[s->errors->error_count - 1].position = s->tok ? s->tok - s->str : 0; in add_error()
96 s->errors->error_messages[s->errors->error_count - 1].character = s->tok ? *s->tok : 0; in add_error()
97 s->errors->error_messages[s->errors->error_count - 1].message = timelib_strdup(error); in add_error()
947 in.errors->error_count = 0; in timelib_strtointerval()
960 if (errors) { in timelib_strtointerval()
961 *errors = in.errors; in timelib_strtointerval()
1025 if (errors) { in timelib_strtointerval()
[all …]
H A Dtimelib.c155 void timelib_error_container_dtor(timelib_error_container *errors) in timelib_error_container_dtor() argument
159 for (i = 0; i < errors->warning_count; i++) { in timelib_error_container_dtor()
160 timelib_free(errors->warning_messages[i].message); in timelib_error_container_dtor()
162 timelib_free(errors->warning_messages); in timelib_error_container_dtor()
163 for (i = 0; i < errors->error_count; i++) { in timelib_error_container_dtor()
164 timelib_free(errors->error_messages[i].message); in timelib_error_container_dtor()
166 timelib_free(errors->error_messages); in timelib_error_container_dtor()
167 timelib_free(errors); in timelib_error_container_dtor()
/PHP-8.1/ext/intl/tests/
H A Didn_uts46_errors.phpt12 echo "=> PHP level errors", "\n";
34 var_dump($foo["errors"]==IDNA_ERROR_CONTEXTJ);
38 => PHP level errors
56 ["errors"]=>
66 ["errors"]=>
/PHP-8.1/ext/imap/tests/
H A Dbug63126.phpt14 if (is_array($errors = imap_errors())) {
15 foreach ($errors as $err) {
39 if (is_array($errors = imap_errors())) {
40 foreach ($errors as $err) {
H A Dimap_errors_basic.phpt16 echo "List any errors\n";
22 List any errors
/PHP-8.1/ext/pgsql/tests/
H A Dbug71998.phpt57 $errors = 0;
63 $errors++;
75 echo $errors, " errors caught\n";
196 7 errors caught
/PHP-8.1/ext/openssl/tests/
H A Dopenssl_error_string_basic_openssl3.phpt11 // helper function to check openssl errors
38 echo "$name: uncaught errors\n";
47 // helper for debugging errors
79 // TODO: This no longer errors!
85 // internally OpenSSL ERR won't save more than 15 (16 - 1) errors so lets test it
104 echo "PKEY errors\n";
132 echo "X509 errors\n";
147 echo "CSR errors\n";
168 PKEY errors
177 X509 errors
[all …]
H A Dopenssl_error_string_basic.phpt11 // helper function to check openssl errors
38 echo "$name: uncaught errors\n";
47 // helper for debugging errors
83 // internally OpenSSL ERR won't save more than 15 (16 - 1) errors so lets test it
101 echo "PKEY errors\n";
129 echo "X509 errors\n";
144 echo "CSR errors\n";
169 PKEY errors
178 X509 errors
183 CSR errors
/PHP-8.1/ext/tidy/tests/
H A Dgh10636.phpt2 GH-10636 (Tidy does not output notice when it encountered parse errors in the default configuration…
12 Notice: main(): There were errors while parsing the Tidy configuration file "%sgh10636_config" in %…
/PHP-8.1/ext/bz2/tests/
H A Dbug71263.phpt2 Bug #71263: fread() does not report bzip2.decompress errors
17 // --> fread() displays empty string then garbage, no errors detected:
21 // --> php_bz2_decompress_filter() does not detect errors,

Completed in 30 milliseconds

1234567891011