/PHP-7.4/ext/intl/tests/ |
H A D | calendar_get_getActualMaximum_Minumum_error2.phpt | 16 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"; 84 error: 2, intlcal_get() expects exactly 2 parameters, 1 given 85 error: 2, intlcal_get(): intlcal_get: bad arguments 93 error: 2, intlcal_get(): intlcal_get: invalid field [all …]
|
H A D | calendar_before_after_error.phpt | 16 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"; 45 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n"; 64 error: 2, IntlCalendar::after() expects exactly 1 parameter, 0 given 80 error: 2, intlcal_after() expects exactly 2 parameters, 1 given 81 error: 2, intlcal_after(): intlcal_before/after: bad arguments 83 error: 2, intlcal_before() expects exactly 2 parameters, 1 given [all …]
|
H A D | normalizer_normalize.phpt | 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_C'? = no error info: 'U_ZERO_ERROR' (0) 112 is in form 'UNORM_FORM_C'? = no error info: 'U_ZERO_ERROR' (0) 114 is in form 'UNORM_FORM_C'? = yes error info: 'U_ZERO_ERROR' (0) 116 is in form 'UNORM_FORM_C'? = yes error info: 'U_ZERO_ERROR' (0) 118 is in form 'UNORM_FORM_D'? = yes error info: 'U_ZERO_ERROR' (0) 120 is in form 'UNORM_FORM_D'? = no error info: 'U_ZERO_ERROR' (0) 122 is in form 'UNORM_FORM_D'? = no error info: 'U_ZERO_ERROR' (0) 124 is in form 'UNORM_FORM_D'? = no error info: 'U_ZERO_ERROR' (0) [all …]
|
H A D | calendar_setTimeZone_error.phpt | 18 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"; 44 error: 2, IntlCalendar::setTimeZone() expects exactly 1 parameter, 2 given 45 error: 2, IntlCalendar::setTimeZone(): intlcal_set_time_zone: bad arguments 47 error: 2, IntlCalendar::setTimeZone() expects exactly 1 parameter, 0 given 48 error: 2, IntlCalendar::setTimeZone(): intlcal_set_time_zone: bad arguments 50 error: 2, intlcal_set_time_zone() expects exactly 2 parameters, 3 given [all …]
|
H A D | calendar_isEquivalentTo_error.phpt | 16 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"; 54 error: 2, IntlCalendar::isEquivalentTo() expects exactly 1 parameter, 2 given 55 error: 2, IntlCalendar::isEquivalentTo(): intlcal_is_equivalent_to: bad arguments 59 error: 2, intlcal_is_equivalent_to() expects exactly 2 parameters, 1 given [all …]
|
H A D | calendar_equals_error.phpt | 16 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"; 48 error: 2, IntlCalendar::equals() expects exactly 1 parameter, 0 given 49 error: 2, IntlCalendar::equals(): intlcal_equals: bad arguments 53 error: 0, Argument 1 passed to IntlCalendar::equals() must be an instance of IntlCalendar, int given 55 error: 0, Argument 2 passed to intlcal_equals() must be an instance of IntlCalendar, array given [all …]
|
/PHP-7.4/ext/oci8/tests/ |
H A D | error_parse.phpt | 15 // 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 58 echo "Persistent connection: Parse error\n"; 66 echo "No connection: error: "; 102 Normal connection: Parse error 113 New connection: Parse error 124 Persistent connection: Parse error [all …]
|
/PHP-7.4/ext/libxml/tests/ |
H A D | 002.phpt | 25 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-7.4/ext/intl/converter/ |
H A D | converter.c | 33 intl_error error; member 47 #define THROW_UFAILURE(obj, fname, error) php_converter_throw_failure(obj, error, \ argument 114 ZEND_ARG_INFO(1, error) 136 ZEND_ARG_INFO(1, error) 364 if (U_FAILURE(error)) { in php_converter_set_callbacks() 369 error = U_ZERO_ERROR; in php_converter_set_callbacks() 372 if (U_FAILURE(error)) { in php_converter_set_callbacks() 680 if (U_FAILURE(error) && error != U_BUFFER_OVERFLOW_ERROR) { in php_converter_do_convert() 687 error = U_ZERO_ERROR; in php_converter_do_convert() 698 if (U_FAILURE(error) && error != U_BUFFER_OVERFLOW_ERROR) { in php_converter_do_convert() [all …]
|
/PHP-7.4/ext/phar/ |
H A D | tar.c | 154 if (error) { in phar_open_or_create_tar() 224 if (error) { in phar_parse_tarfile() 234 if (error) { in phar_parse_tarfile() 624 if (error) { in phar_parse_tarfile() 651 if (error) { in phar_parse_tarfile() 714 char **error; member 916 char *lookfor, **error = i->error; in phar_tar_setupmetadata() local 1173 pass.error = error; in phar_tar_flush() 1215 if (error && *error) { in phar_tar_flush() 1281 if (error && *error) { in phar_tar_flush() [all …]
|
H A D | util.c | 356 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 D | stream.c | 121 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() 464 char *error; in phar_stream_flush() local 590 if (error) { in phar_wrapper_stat() 714 if (error) { in phar_wrapper_unlink() 728 if (error) { in phar_wrapper_unlink() [all …]
|
H A D | phar_path_check.re | 27 *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 D | phar.c | 484 if (error) {\ 536 if (error) { in phar_open_parsed_phar() 685 if (error) { in phar_parse_pharfile() 762 if (error) { in phar_parse_pharfile() 966 if (error) { in phar_parse_pharfile() 1273 if (error) { in phar_open_or_create_filename() 1501 if (error) { in phar_open_from_filename() 1511 } else if (error && *error) { in phar_open_from_filename() 1597 if (error) { in phar_open_from_fp() 2285 if (error) { in phar_open_executed_filename() [all …]
|
H A D | zip.c | 214 if (error) { in phar_parse_zipfile() 225 if (error) { in phar_parse_zipfile() 236 if (error) { in phar_parse_zipfile() 243 if (error) { in phar_parse_zipfile() 259 if (error) { in phar_parse_zipfile() 284 if (error) { in phar_parse_zipfile() 805 if (error) { in phar_open_or_create_zip() 819 char **error; member 1212 if (pass->error && *(pass->error)) { in phar_zip_applysignature() 1247 if (error) { in phar_zip_flush() [all …]
|
H A D | dirstream.c | 342 if (error) { in phar_wrapper_open_dir() 352 if (error) { in phar_wrapper_open_dir() 353 efree(error); in phar_wrapper_open_dir() 459 efree(error); in phar_wrapper_mkdir() 475 if (error) { in phar_wrapper_mkdir() 477 efree(error); in phar_wrapper_mkdir() 489 if (error) { in phar_wrapper_mkdir() 491 efree(error); in phar_wrapper_mkdir() 528 if (error) { in phar_wrapper_mkdir() 602 if (error) { in phar_wrapper_rmdir() [all …]
|
/PHP-7.4/Zend/tests/ |
H A D | 015.phpt | 7 var_dump(trigger_error("error")); 9 var_dump(trigger_error("error", -1)); 10 var_dump(trigger_error("error", 0)); 11 var_dump(trigger_error("error", E_USER_WARNING)); 12 var_dump(trigger_error("error", E_USER_DEPRECATED)); 20 Notice: error in %s on line %d 26 Warning: Invalid error type specified in %s on line %d 29 Warning: Invalid error type specified in %s on line %d 32 Warning: error in %s on line %d 35 Deprecated: error in %s on line %d
|
/PHP-7.4/ext/pgsql/tests/ |
H A D | 02connection.phpt | 16 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 D | 26async_query_prepared.phpt | 18 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-7.4/ext/ |
H A D | ext_skel.php | 25 function error($message) { function 222 error('No extension name passed, use "--ext <name>"'); 224 error('Cannot pass both --onlyunix and --onlywindows'); 226 error('The skeleton directory was not found'); 342 error('Unable to copy source file: ' . $src_file); 369 error('Unable to copy file: ' . $new_test); 379 error('This script is only suited for CLI'); 390 error('The selected output directory does not exist'); 396 error('Unable to create the tests directory'); 403 error('Unable to create the EXPERIMENTAL file'); [all …]
|
/PHP-7.4/win32/ |
H A D | sockets.c | 45 goto error; in socketpair() 53 goto error; in socketpair() 57 goto error; in socketpair() 61 goto error; in socketpair() 66 goto error; in socketpair() 71 goto error; in socketpair() 76 goto error; in socketpair() 84 error: in socketpair()
|
/PHP-7.4/ext/intl/ |
H A D | ERROR_CONVENTIONS.md | 1 # 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-7.4/ext/standard/tests/image/ |
H A D | iptcembed_002.phpt | 42 else { echo "error cant 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-7.4/ext/mysqli/tests/ |
H A D | mysqli_autocommit_oo.phpt | 32 printf("[003] [%d] %s\n", $mysqli->errno, $mysqli->error); 35 printf("[004] [%d] %s\n", $mysqli->errno, $mysqli->error); 46 printf("[007] [%d] %s\n", $mysqli->errno, $mysqli->error); 53 printf("[009] [%d] %s\n", $mysqli->errno, $mysqli->error); 60 printf("[011] [%d] %s\n", $mysqli->errno, $mysqli->error); 63 printf("[012] [%d] %s\n", $mysqli->errno, $mysqli->error); 66 printf("[013] [%d] %s\n", $mysqli->errno, $mysqli->error); 70 $tmp['num'], $mysqli->errno, $mysqli->error); 75 printf("[015] [%d] %s\n", $mysqli->errno, $mysqli->error); 78 printf("[016] [%d] %s\n", $mysqli->errno, $mysqli->error); [all …]
|
/PHP-7.4/ext/gd/tests/ |
H A D | bug39780_extern.phpt | 2 Bug #39780 (PNG image with CRC/data error raises a fatal error) 15 gd-png: fatal libpng error: Read Error: truncated data 16 gd-png error: setjmp returns error condition 2
|