Home
last modified time | relevance | path

Searched refs:error (Results 1 – 25 of 2091) sorted by relevance

12345678910>>...84

/PHP-8.0/ext/intl/converter/
H A Dconverter.c32 intl_error error; member
46 #define THROW_UFAILURE(obj, fname, error) php_converter_throw_failure(obj, error, \ argument
110 zval *error; in PHP_METHOD() local
124 zval *source, *error; in PHP_METHOD() local
349 if (U_FAILURE(error)) { in php_converter_set_callbacks()
354 error = U_ZERO_ERROR; in php_converter_set_callbacks()
357 if (U_FAILURE(error)) { in php_converter_set_callbacks()
638 if (U_FAILURE(error) && error != U_BUFFER_OVERFLOW_ERROR) { in php_converter_do_convert()
645 error = U_ZERO_ERROR; in php_converter_do_convert()
656 if (U_FAILURE(error) && error != U_BUFFER_OVERFLOW_ERROR) { in php_converter_do_convert()
[all …]
/PHP-8.0/ext/intl/tests/
H A Dcalendar_before_after_error.phpt16 echo "error: $errno, $errstr\n";
23 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
28 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
34 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
39 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
65 error: 0, IntlCalendar::after() expects exactly 1 argument, 0 given
67 error: 0, IntlCalendar::before() expects exactly 1 argument, 0 given
73 error: 0, IntlCalendar::after() expects exactly 1 argument, 2 given
75 error: 0, IntlCalendar::before() expects exactly 1 argument, 2 given
77 error: 0, intlcal_after() expects exactly 2 arguments, 1 given
[all …]
H A Dnormalizer_normalize.phpt98 is in form 'UNORM_FORM_C'? = yes error info: 'U_ZERO_ERROR' (0)
100 is in form 'UNORM_FORM_C'? = yes error info: 'U_ZERO_ERROR' (0)
102 is in form 'UNORM_FORM_C'? = no error info: 'U_ZERO_ERROR' (0)
104 is in form 'UNORM_FORM_C'? = no error info: 'U_ZERO_ERROR' (0)
106 is in form 'UNORM_FORM_C'? = yes error info: 'U_ZERO_ERROR' (0)
108 is in form 'UNORM_FORM_C'? = yes error info: 'U_ZERO_ERROR' (0)
110 is in form 'UNORM_FORM_D'? = yes error info: 'U_ZERO_ERROR' (0)
112 is in form 'UNORM_FORM_D'? = no error info: 'U_ZERO_ERROR' (0)
114 is in form 'UNORM_FORM_D'? = no error info: 'U_ZERO_ERROR' (0)
116 is in form 'UNORM_FORM_D'? = no error info: 'U_ZERO_ERROR' (0)
[all …]
H A Dcalendar_isEquivalentTo_error.phpt16 echo "error: $errno, $errstr\n";
23 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
28 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
33 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
39 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
44 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
49 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
53 error: 0, IntlCalendar::isEquivalentTo(): Argument #1 ($other) must be of type IntlCalendar, int gi…
55 error: 0, IntlCalendar::isEquivalentTo() expects exactly 1 argument, 2 given
59 error: 0, intlcal_is_equivalent_to() expects exactly 2 arguments, 1 given
[all …]
H A Dcalendar_equals_error.phpt16 echo "error: $errno, $errstr\n";
23 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
28 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
33 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
40 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
45 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
49 error: 0, IntlCalendar::equals() expects exactly 1 argument, 0 given
51 error: 0, IntlCalendar::equals(): Argument #1 ($other) must be of type IntlCalendar, stdClass given
53 error: 0, IntlCalendar::equals() expects exactly 1 argument, 2 given
55 error: 0, intlcal_equals(): Argument #2 ($other) must be of type IntlCalendar, array given
[all …]
H A Dcalendar_setTimeZone_error.phpt18 echo "error: $errno, $errstr\n";
25 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
30 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
36 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
41 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
45 error: 0, IntlCalendar::setTimeZone() expects exactly 1 argument, 2 given
47 error: 0, IntlCalendar::setTimeZone() expects exactly 1 argument, 0 given
49 error: 0, intlcal_set_time_zone() expects exactly 2 arguments, 3 given
51 error: 0, intlcal_set_time_zone(): Argument #1 ($calendar) must be of type IntlCalendar, int given
/PHP-8.0/ext/oci8/tests/
H A Derror_parse.phpt15 // Test parse error for normal connection
26 echo "Normal connection: Parse error\n";
31 // Test parse error for new connection
42 echo "New connection: Parse error\n";
47 // Test parse error for persistent connection
66 echo "No connection: error: ";
76 echo "New connection (take #2): Parse error: ";
102 Normal connection: Parse error
113 New connection: Parse error
124 Persistent connection: Parse error
[all …]
/PHP-8.0/ext/libxml/tests/
H A D002.phpt25 foreach ($errors as $error) {
26 echo display_xml_error($error, $xml);
33 function display_xml_error($error, $xml)
35 $return = $xml[$error->line - 1] . "\n";
38 switch ($error->level) {
40 $return .= "Warning $error->code: ";
43 $return .= "Error $error->code: ";
46 $return .= "Fatal Error $error->code: ";
50 $return .= trim($error->message) . "\n Line: $error->line" . "\n Column: $error->column";
52 if ($error->file) {
[all …]
/PHP-8.0/ext/phar/
H A Dtar.c154 if (error) { in phar_open_or_create_tar()
221 if (error) { in phar_parse_tarfile()
231 if (error) { in phar_parse_tarfile()
621 if (error) { in phar_parse_tarfile()
648 if (error) { in phar_parse_tarfile()
711 char **error; member
910 char *lookfor, **error = i->error; in phar_tar_setupmetadata() local
1167 pass.error = error; in phar_tar_flush()
1209 if (error && *error) { in phar_tar_flush()
1275 if (error && *error) { in phar_tar_flush()
[all …]
H A Dutil.c356 if (error) { in phar_get_entry_data()
365 if (error) { in phar_get_entry_data()
372 if (error) { in phar_get_entry_data()
406 if (error) { in phar_get_entry_data()
413 if (error) { in phar_get_entry_data()
532 if (error) { in phar_get_or_create_entry_data()
539 if (error) { in phar_get_or_create_entry_data()
555 if (error) { in phar_get_or_create_entry_data()
819 if (error) { in phar_create_writeable_entry()
904 if (error) { in phar_open_jit()
[all …]
H A Dstream.c121 if (error) { in phar_parse_url()
131 if (error) { in phar_parse_url()
144 if (error) { in phar_parse_url()
166 char *error; in phar_wrapper_open_url() local
197 if (error) { in phar_wrapper_open_url()
207 if (error) { in phar_wrapper_open_url()
461 char *error; in phar_stream_flush() local
587 if (error) { in phar_wrapper_stat()
711 if (error) { in phar_wrapper_unlink()
725 if (error) { in phar_wrapper_unlink()
[all …]
H A Dphar_path_check.re27 *error = "current directory reference";
30 *error = "upper directory reference";
61 *error = "double slash";
65 *error = "upper directory reference";
69 *error = "current directory reference";
73 *error = "back-slash";
77 *error = "star";
85 *error = NULL;
98 *error ="illegal character";
101 *error = NULL;
[all …]
H A Dphar.c454 if (error) {\
506 if (error) { in phar_open_parsed_phar()
760 if (error) { in phar_parse_pharfile()
837 if (error) { in phar_parse_pharfile()
1324 if (error) { in phar_open_or_create_filename()
1552 if (error) { in phar_open_from_filename()
1562 } else if (error && *error) { in phar_open_from_filename()
1648 if (error) { in phar_open_from_fp()
2336 if (error) { in phar_open_executed_filename()
2402 if (error) { in phar_postprocess_file()
[all …]
/PHP-8.0/ext/pgsql/tests/
H A D02connection.phpt16 echo "pg_connection_status() error\n";
20 echo "pg_connection_reset() error\n";
24 echo "pg_connection_busy() error\n";
29 echo "pg_transaction_status() error\n";
34 echo "pg_host() error\n";
38 echo "pg_dbname() error\n";
42 echo "pg_port() error\n";
46 echo "pg_tty() error\n";
50 echo "pg_options() error\n";
H A D26async_query_prepared.phpt18 echo "pg_send_prepare() error\n";
22 echo "pg_connection_status() error\n";
26 echo "pg_get_result() error\n";
31 echo "pg_send_execute() error\n";
35 echo "pg_connection_status() error\n";
39 echo "pg_get_result() error\n";
43 echo "pg_num_rows() error\n";
73 echo "pg_send_prepare() error\n";
81 echo "pg_get_result() error\n";
87 echo "pg_send_execute() error\n";
[all …]
/PHP-8.0/ext/gmp/tests/
H A Dgmp_pown.phpt24 } catch (\DivisionByZeroError $error) {
25 echo $error->getMessage() . \PHP_EOL;
29 } catch (\DivisionByZeroError $error) {
30 echo $error->getMessage() . \PHP_EOL;
35 } catch (\TypeError $error) {
36 echo $error->getMessage() . \PHP_EOL;
40 } catch (\TypeError $error) {
41 echo $error->getMessage() . \PHP_EOL;
45 } catch (\TypeError $error) {
50 } catch (\TypeError $error) {
[all …]
/PHP-8.0/ext/
H A Dext_skel.php22 function error($message) { function
215 error('No extension name passed, use "--ext <name>"');
217 error('Cannot pass both --onlyunix and --onlywindows');
219 error('The skeleton directory was not found');
332 error('Unable to copy source file: ' . $src_file);
358 error('Unable to copy file: ' . $new_test);
368 error('This script is only suited for CLI');
379 error('The selected output directory does not exist');
385 error('Unable to create the tests directory');
392 error('Unable to create the EXPERIMENTAL file');
[all …]
/PHP-8.0/Zend/tests/
H A D015.phpt6 var_dump(trigger_error("error"));
9 var_dump(trigger_error("error", -1));
14 var_dump(trigger_error("error", 0));
19 var_dump(trigger_error("error", E_USER_WARNING));
20 var_dump(trigger_error("error", E_USER_DEPRECATED));
24 Notice: error in %s on line %d
29 Warning: error in %s on line %d
32 Deprecated: error in %s on line %d
H A Dbug60909_1.phpt2 Bug #60909 (custom error handler throwing Exception + fatal error = no shutdown function).
7 echo "error($errstr)";
14 error(require(notfound.php): Failed to open stream: %s)
15 Fatal error: Uncaught Exception: Foo in %sbug60909_1.php:5
/PHP-8.0/win32/
H A Dsockets.c42 goto error; in socketpair_win32()
50 goto error; in socketpair_win32()
54 goto error; in socketpair_win32()
58 goto error; in socketpair_win32()
68 goto error; in socketpair_win32()
73 goto error; in socketpair_win32()
78 goto error; in socketpair_win32()
86 error: in socketpair_win32()
/PHP-8.0/ext/intl/
H A DERROR_CONVENTIONS.md1 # Intl extension error conventions
3 The intl extension has particular conventions regarding error reporting. These
6 * The last error is always stored globally.
13 the PHP wrapper function should set the global error code to
24 error occurred).
26 The internal PHP code can set the global last error with:
40 unless the error is due to bad arguments, in which case only the global error
53 The global error and the object error can be SIMULTANEOUSLY set with these
65 Static methods should only set the global error.
84 object's private error.
[all …]
/PHP-8.0/ext/standard/tests/image/
H A Diptcembed_002.phpt42 else { echo "error can't write $file".PHP_EOL;exit(1); }
48 if ($width!=1) { echo "width error".PHP_EOL;exit(1); }
50 if ($type!=2) { echo "type error".PHP_EOL;exit(1); }
81 if ($width!=1) { echo "width error".PHP_EOL;exit(1); }
83 if ($type!=2) { echo "type error".PHP_EOL;exit(1); }
87 $error=0;
92 echo "error iptc tag $tag not found".PHP_EOL;
93 $error++;
98 $error++;
105 if ($error==0) { echo "OK".PHP_EOL;exit(0);}
[all …]
/PHP-8.0/ext/posix/tests/
H A Dposix_strerror_error.phpt2 Test posix_strerror() function : error conditions
9 echo "*** Testing posix_strerror() : error conditions ***\n";
11 echo "\n-- Testing posix_strerror() function with invalid error number --\n";
18 *** Testing posix_strerror() : error conditions ***
20 -- Testing posix_strerror() function with invalid error number --
/PHP-8.0/ext/mysqli/tests/
H A Dmysqli_autocommit_oo.phpt31 printf("[003] [%d] %s\n", $mysqli->errno, $mysqli->error);
34 printf("[004] [%d] %s\n", $mysqli->errno, $mysqli->error);
45 printf("[007] [%d] %s\n", $mysqli->errno, $mysqli->error);
52 printf("[009] [%d] %s\n", $mysqli->errno, $mysqli->error);
59 printf("[011] [%d] %s\n", $mysqli->errno, $mysqli->error);
62 printf("[012] [%d] %s\n", $mysqli->errno, $mysqli->error);
65 printf("[013] [%d] %s\n", $mysqli->errno, $mysqli->error);
69 $tmp['num'], $mysqli->errno, $mysqli->error);
74 printf("[015] [%d] %s\n", $mysqli->errno, $mysqli->error);
77 printf("[016] [%d] %s\n", $mysqli->errno, $mysqli->error);
[all …]
/PHP-8.0/ext/opcache/jit/libudis86/
H A Dudint.h45 (u)->error = 1; \
52 (u)->error = 1; \
58 if ((u)->error != 0) { \
59 return (u)->error; \
66 return (u)->error; \

Completed in 58 milliseconds

12345678910>>...84