Home
last modified time | relevance | path

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

12345678910>>...12

/php-src/ext/pdo_pgsql/tests/
H A Dbug62593.phpt18 $errors = array();
24 $errors[] = $query->errorInfo();
29 $errors[] = $query->errorInfo();
36 $errors[] = $query->errorInfo();
43 $errors[] = $query->errorInfo();
49 $errors[] = $query->errorInfo();
52 $expect = 'No errors found';
54 foreach ($errors as $error)
68 No errors found
/php-src/ext/mysqli/tests/
H A Dbug47050.phpt18 $links = $errors = $reject = $all_links;
19 mysqli_poll($links, $errors, $reject, 1);
22 echo "errors: ", sizeof($errors), "\n";
30 errors: 0
H A Dmysqli_poll.phpt70 foreach ($errors as $mysqli)
83 $errors = array($link);
85 poll_async(12, $link, $links, $errors, $reject, 0, false);
90 $errors = array($link);
92 poll_async(13, $link, $links, $errors, $reject, 0, true);
99 $errors = array($link, $link);
101 poll_async(14, $link, $links, $errors, $reject, 0, false);
107 $errors = array($link, $link);
109 poll_async(15, $link, $links, $errors, $reject, 0, false);
114 $errors = array($link);
[all …]
H A Dmysqli_poll_kill.phpt33 $errors = array($link);
54 if (!is_array($errors) || !empty($errors))
55 …printf("[006] Expecting non-empty array got %s/%s\n", gettype($errors), var_export($errors, true));
62 $errors = array($link);
68 if (!empty($errors))
92 $errors = array($link, $link);
96 if (!empty($errors)) {
97 foreach ($errors as $mysqli) {
150 $errors = array($link);
171 if (!is_array($errors) || !empty($errors))
[all …]
H A Dmysqli_reap_async_query.phpt21 function poll_async($offset, $link, $links, $errors, $reject, $exp_ready, $use_oo_syntax) {
23 if ($exp_ready !== ($tmp = mysqli_poll($links, $errors, $reject, 0, 50 * 1000)))
43 foreach ($errors as $mysqli)
57 $errors = array($link);
59 poll_async(12, $link, $links, $errors, $reject, 1, false);
65 $errors = array($link);
67 poll_async(13, $link, $links, $errors, $reject, 1, true);
H A Dmysqli_poll_reference.phpt44 $links = $errors = $reject = array($mysqli1, $mysqli2);
45 if (0 == mysqli_poll($links, $errors, $reject, 0, 50000)) {
74 $links = $errors = array($mysqli1, $mysqli2);
76 if (0 == mysqli_poll($links, $errors, $reject, 0, 50000)) {
105 $errors = $reject = array($mysqli1, $mysqli2);
106 if (0 == mysqli_poll($links, $errors, $reject, 0, 50000)) {
120 // This is bogus code and bogus usage - OK to throw no errors!
135 $links = $errors = $reject = array($mysqli1, $mysqli2);
148 foreach ($errors as $link) {
177 $links = $errors = $reject = $all;
[all …]
H A Dmysqli_reap_async_query_error.phpt17 $reads = $errors = $rejects = [$link];
18 mysqli::poll($reads, $errors, $rejects, 1);
/php-src/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_parse_001.phpt40 ["errors"]=>
68 ["errors"]=>
96 ["errors"]=>
134 ["errors"]=>
162 ["errors"]=>
190 ["errors"]=>
218 ["errors"]=>
256 ["errors"]=>
292 ["errors"]=>
H A Ddate-lenient-create.phpt40 [errors] => Array
62 [errors] => Array
83 [errors] => Array
104 [errors] => Array
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 Dbug51866.phpt38 ["errors"]=>
66 ["errors"]=>
92 ["errors"]=>
122 ["errors"]=>
H A Dbug43808.phpt27 ["errors"]=>
43 ["errors"]=>
/php-src/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-src/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()
984 in.errors->error_count = 0; in timelib_strtointerval()
997 if (errors) { in timelib_strtointerval()
998 *errors = in.errors; in timelib_strtointerval()
1062 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-src/ext/intl/tests/
H A Didn_uts46_errors.phpt13 echo "=> PHP level errors", "\n";
43 var_dump($foo["errors"]==IDNA_ERROR_CONTEXTJ);
47 => PHP level errors
61 ["errors"]=>
71 ["errors"]=>
/php-src/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";
129 echo "X509 errors\n";
144 echo "CSR errors\n";
165 PKEY errors
173 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
100 echo "PKEY errors\n";
128 echo "X509 errors\n";
143 echo "CSR errors\n";
168 PKEY errors
177 X509 errors
182 CSR errors
/php-src/sapi/cli/tests/
H A D024.phpt58 [0] => No syntax errors detected in %s024_good.test.php
59 [1] => No syntax errors detected in %s024_good.test.php
64 [0] => No syntax errors detected in %s024_good.test.php
66 [2] => No syntax errors detected in %s024_good.test.php
71 [0] => No syntax errors detected in %s024_good.test.php
75 [4] => No syntax errors detected in %s024_good.test.php
/php-src/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-src/ext/pgsql/tests/
H A Dbug71998.phpt58 $errors = 0;
70 $errors++;
82 echo $errors, " errors caught\n";
218 7 errors caught
/php-src/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 21 milliseconds

12345678910>>...12