/php-src/ext/pdo_pgsql/tests/ |
H A D | bug62593.phpt | 18 $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 D | bug47050.phpt | 18 $links = $errors = $reject = $all_links; 19 mysqli_poll($links, $errors, $reject, 1); 22 echo "errors: ", sizeof($errors), "\n"; 30 errors: 0
|
H A D | mysqli_poll.phpt | 70 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 D | mysqli_poll_kill.phpt | 33 $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 D | mysqli_reap_async_query.phpt | 21 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 D | mysqli_poll_reference.phpt | 44 $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 D | mysqli_reap_async_query_error.phpt | 17 $reads = $errors = $rejects = [$link]; 18 mysqli::poll($reads, $errors, $rejects, 1);
|
/php-src/ext/date/tests/ |
H A D | date-lenient.phpt | 32 [errors] => Array 55 [errors] => Array 77 [errors] => Array 99 [errors] => Array 120 [errors] => Array 141 [errors] => Array
|
H A D | date_parse_001.phpt | 40 ["errors"]=> 68 ["errors"]=> 96 ["errors"]=> 134 ["errors"]=> 162 ["errors"]=> 190 ["errors"]=> 218 ["errors"]=> 256 ["errors"]=> 292 ["errors"]=>
|
H A D | date-lenient-create.phpt | 40 [errors] => Array 62 [errors] => Array 83 [errors] => Array 104 [errors] => Array
|
H A D | date_parse_basic1.phpt | 39 ["errors"]=> 67 ["errors"]=> 95 ["errors"]=>
|
H A D | date-parse-by-format001.phpt | 25 [errors] => Array 46 [errors] => Array
|
H A D | bug51866.phpt | 38 ["errors"]=> 66 ["errors"]=> 92 ["errors"]=> 122 ["errors"]=>
|
H A D | bug43808.phpt | 27 ["errors"]=> 43 ["errors"]=>
|
/php-src/ext/xmlreader/tests/ |
H A D | bug64230.phpt | 2 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 D | parse_iso_intervals.re | 91 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 D | parse_iso_intervals.c | 77 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 D | timelib.c | 155 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 D | idn_uts46_errors.phpt | 13 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 D | openssl_error_string_basic_openssl3.phpt | 11 // 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 D | openssl_error_string_basic.phpt | 11 // 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 D | 024.phpt | 58 [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 D | gh10636.phpt | 2 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 D | bug71998.phpt | 58 $errors = 0; 70 $errors++; 82 echo $errors, " errors caught\n"; 218 7 errors caught
|
/php-src/ext/bz2/tests/ |
H A D | bug71263.phpt | 2 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,
|