/PHP-8.4/ext/json/ |
H A D | json.c | 65 json_globals->error_code = 0; in PHP_GINIT_FUNCTION() 72 JSON_G(error_code) = 0; in PHP_RINIT_FUNCTION() 135 JSON_G(error_code) = encoder.error_code; in php_json_encode_ex() 149 switch(error_code) { in php_json_get_error_msg() 189 JSON_G(error_code) = error_code; in php_json_decode_ex() 191 zend_throw_exception(php_json_exception_ce, php_json_get_error_msg(error_code), error_code); in php_json_decode_ex() 211 JSON_G(error_code) = error_code; in php_json_validate_ex() 240 JSON_G(error_code) = encoder.error_code; in PHP_FUNCTION() 248 …w_exception(php_json_exception_ce, php_json_get_error_msg(encoder.error_code), encoder.error_code); in PHP_FUNCTION() 337 JSON_G(error_code) = PHP_JSON_ERROR_NONE; in PHP_FUNCTION() [all …]
|
H A D | json_encoder.c | 130 encoder->error_code = PHP_JSON_ERROR_DEPTH; in php_json_encode_array() 154 encoder->error_code = PHP_JSON_ERROR_RECURSION; in php_json_encode_array() 208 encoder->error_code = PHP_JSON_ERROR_DEPTH; in php_json_encode_array() 235 encoder->error_code = PHP_JSON_ERROR_RECURSION; in php_json_encode_array() 344 encoder->error_code = PHP_JSON_ERROR_DEPTH; in php_json_encode_array() 443 encoder->error_code = PHP_JSON_ERROR_UTF8; in php_json_escape_string() 593 encoder->error_code = PHP_JSON_ERROR_RECURSION; in php_json_encode_serializable_object() 651 encoder->error_code = PHP_JSON_ERROR_NON_BACKED_ENUM; in php_json_encode_serializable_enum() 684 encoder->error_code = PHP_JSON_ERROR_INF_OR_NAN; in php_json_encode_zval() 717 encoder->error_code = PHP_JSON_ERROR_UNSUPPORTED_TYPE; in php_json_encode_zval()
|
H A D | php_json_encoder.h | 28 php_json_error_code error_code; member
|
/PHP-8.4/ext/dom/ |
H A D | domexception.c | 33 void php_dom_throw_error_with_message(dom_exception_code error_code, const char *error_message, boo… in php_dom_throw_error_with_message() argument 36 zend_throw_exception(dom_domexception_class_entry, error_message, error_code); in php_dom_throw_error_with_message() 44 void php_dom_throw_error(dom_exception_code error_code, bool strict_error) in php_dom_throw_error() argument 48 switch (error_code) in php_dom_throw_error() 102 php_dom_throw_error_with_message(error_code, error_message, strict_error); in php_dom_throw_error()
|
H A D | domexception.h | 49 void php_dom_throw_error(dom_exception_code error_code, bool strict_error); 50 void php_dom_throw_error_with_message(dom_exception_code error_code, const char *error_message, boo…
|
/PHP-8.4/ext/pdo/ |
H A D | php_pdo_error.h | 25 strlcpy(dbh->error_code, PDO_ERR_NONE, sizeof(PDO_ERR_NONE)); \ 31 #define PDO_STMT_CLEAR_ERR() strcpy(stmt->error_code, PDO_ERR_NONE) 32 #define PDO_HANDLE_DBH_ERR() if (strcmp(dbh->error_code, PDO_ERR_NONE)) { pdo_handle_error(dbh, … 33 #define PDO_HANDLE_STMT_ERR() if (strcmp(stmt->error_code, PDO_ERR_NONE)) { pdo_handle_error(stmt…
|
H A D | pdo_dbh.c | 70 pdo_error_type *pdo_err = &dbh->error_code; in pdo_raise_impl_error() 84 pdo_err = &stmt->error_code; in pdo_raise_impl_error() 130 pdo_error_type *pdo_err = &dbh->error_code; in pdo_handle_error() 142 pdo_err = &stmt->error_code; in pdo_handle_error() 1120 RETURN_STRING(dbh->query_stmt->error_code); in PHP_METHOD() 1123 if (dbh->error_code[0] == '\0') { in PHP_METHOD() 1131 RETURN_STRING(dbh->error_code); in PHP_METHOD() 1151 add_next_index_string(return_value, dbh->query_stmt->error_code); in PHP_METHOD() 1152 if(!strncmp(dbh->query_stmt->error_code, PDO_ERR_NONE, sizeof(PDO_ERR_NONE))) goto fill_array; in PHP_METHOD() 1154 add_next_index_string(return_value, dbh->error_code); in PHP_METHOD() [all …]
|
/PHP-8.4/ext/sysvmsg/ |
H A D | sysvmsg.stub.php | 43 * @param int $error_code 45 …essage_type, $message, bool $serialize = true, bool $blocking = true, &$error_code = null): bool {} argument 49 * @param int $error_code 59 &$error_code = null argument
|
H A D | sysvmsg_arginfo.h | 15 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, error_code, "null") 26 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, error_code, "null")
|
/PHP-8.4/ext/intl/spoofchecker/ |
H A D | spoofchecker_main.c | 28 zval *error_code = NULL; in PHP_METHOD() local 34 Z_PARAM_ZVAL(error_code) in PHP_METHOD() 57 if (error_code) { in PHP_METHOD() 58 ZEND_TRY_ASSIGN_REF_LONG(error_code, ret); in PHP_METHOD() 69 zval *error_code = NULL; in PHP_METHOD() local 76 Z_PARAM_ZVAL(error_code) in PHP_METHOD() 90 if (error_code) { in PHP_METHOD() 91 ZEND_TRY_ASSIGN_REF_LONG(error_code, ret); in PHP_METHOD()
|
/PHP-8.4/ext/openssl/tests/ |
H A D | openssl_error_string_basic.phpt | 17 $error_code = $m[1]; 18 if (isset($expected_errors[$error_code])) { 19 $expected_errors[$error_code] = true; 21 $all_errors[$error_code] = $error_string; 28 foreach ($expected_errors as $error_code => $error_code_found) { 31 echo "$name: no error code $error_code\n";
|
H A D | openssl_error_string_basic_openssl3.phpt | 17 $error_code = $m[1]; 18 if (isset($expected_errors[$error_code])) { 19 $expected_errors[$error_code] = true; 21 $all_errors[$error_code] = $error_string; 28 foreach ($expected_errors as $error_code => $error_code_found) { 31 echo "$name: no error code $error_code\n";
|
/PHP-8.4/main/ |
H A D | network.c | 340 int *error_code) in php_network_connect_socket() argument 353 if (error_code) { in php_network_connect_socket() 354 *error_code = error; in php_network_connect_socket() 436 if (error_code) { in php_network_connect_socket() 437 *error_code = error; in php_network_connect_socket() 536 if (error_code) { in php_network_bind_socket_to_local_addr() 537 *error_code = err; in php_network_bind_socket_to_local_addr() 763 int *error_code, in php_network_accept_incoming() argument 798 if (error_code) { in php_network_accept_incoming() 799 *error_code = error; in php_network_accept_incoming() [all …]
|
H A D | php_network.h | 268 int *error_code, const char *bindto, unsigned short bindport, long sockopts 277 int *error_code); 283 int socktype, long sockopts, zend_string **error_string, int *error_code 292 int *error_code,
|
/PHP-8.4/main/streams/ |
H A D | php_stream_transport.h | 51 int *error_code 69 int *error_code 157 int error_code; member
|
H A D | transports.c | 57 int *error_code in _php_stream_xport_create() 147 timeout, &error_text, error_code)) { in _php_stream_xport_create() 234 int *error_code in php_stream_xport_connect() argument 254 if (error_code) { in php_stream_xport_connect() 255 *error_code = param.outputs.error_code; in php_stream_xport_connect()
|
/PHP-8.4/ext/intl/tests/ |
H A D | normalizer_get_raw_decomposition.phpt | 29 $error_code = intl_get_error_code(); 40 $result .= "error info: '$error_message' ($error_code)\n";
|
H A D | normalizer_normalize_kc_cf.phpt | 63 $error_code = intl_get_error_code(); 69 . "\terror info: '$error_message' ($error_code)\n" 73 $error_code = intl_get_error_code(); 77 . "\terror info: '$error_message' ($error_code)\n"
|
/PHP-8.4/ext/soap/tests/ |
H A D | gh9720.phpt | 34 …nResponse><status xsi:type="xsd:string">OK</status><error_code xsi:type="xsd:string">200</error_co…
|
/PHP-8.4/ext/sockets/tests/ |
H A D | gh16267.phpt | 18 socket_strerror(): Argument #1 ($error_code) must be between %i and %d
|
/PHP-8.4/ext/date/lib/ |
H A D | timelib.c | 51 const char *timelib_get_error_message(int error_code) in timelib_get_error_message() argument 55 if (error_code >= 0 && error_code < entries) { in timelib_get_error_message() 56 return timelib_error_messages[error_code]; in timelib_get_error_message()
|
H A D | parse_tz.c | 662 …melib_tzinfo *timelib_parse_tzfile(const char *timezone, const timelib_tzdb *tzdb, int *error_code) in timelib_parse_tzfile() argument 670 *error_code = TIMELIB_ERROR_NO_ERROR; in timelib_parse_tzfile() 677 *error_code = TIMELIB_ERROR_UNSUPPORTED_VERSION; in timelib_parse_tzfile() 689 *error_code = TIMELIB_ERROR_CORRUPT_NO_64BIT_PREAMBLE; in timelib_parse_tzfile() 696 *error_code = transitions_result; in timelib_parse_tzfile() 701 *error_code = types_result; in timelib_parse_tzfile() 708 *error_code = TIMELIB_ERROR_EMPTY_POSIX_STRING; in timelib_parse_tzfile() 710 *error_code = TIMELIB_ERROR_CORRUPT_POSIX_STRING; in timelib_parse_tzfile() 721 *error_code = TIMELIB_ERROR_NO_SUCH_TIMEZONE; in timelib_parse_tzfile()
|
/PHP-8.4/ext/pdo_odbc/ |
H A D | odbc_driver.c | 64 pdo_error_type *pdo_err = &dbh->error_code; in pdo_odbc_error() 70 pdo_err = &stmt->error_code; in pdo_odbc_error() 161 strcpy(dbh->error_code, stmt->error_code); in odbc_handle_preparer() 207 strcpy(dbh->error_code, stmt->error_code); in odbc_handle_preparer()
|
/PHP-8.4/ext/standard/tests/streams/ |
H A D | gh8409.phpt | 19 stream_socket_client('tcp://9999.9999.9999.9999:9999', $error_code, $error_message, 0.2, STREAM_CLI…
|
/PHP-8.4/ext/pcre/ |
H A D | php_pcre.c | 135 PCRE_G(error_code) = preg_code; in pcre_handle_exec_error() 141 switch (error_code) { in php_pcre_get_error_msg() 469 PCRE_G(error_code) = PHP_PCRE_NO_ERROR; in PHP_RINIT_FUNCTION() 1240 PCRE_G(error_code) = PHP_PCRE_NO_ERROR; in php_pcre_match_impl() 1247 PCRE_G(error_code) = PHP_PCRE_INTERNAL_ERROR; in php_pcre_match_impl() 1457 if (PCRE_G(error_code) == PHP_PCRE_NO_ERROR) { in php_pcre_match_impl() 1642 PCRE_G(error_code) = PHP_PCRE_NO_ERROR; in php_pcre_replace_impl() 1882 PCRE_G(error_code) = PHP_PCRE_NO_ERROR; in php_pcre_replace_func_impl() 2583 PCRE_G(error_code) = PHP_PCRE_NO_ERROR; in php_pcre_split_impl() 2931 PCRE_G(error_code) = PHP_PCRE_NO_ERROR; in php_pcre_grep_impl() [all …]
|