Searched defs:error_type (Results 1 - 7 of 7) sorted by relevance

/PHP_TRUNK/ext/libxml/
H A Dlibxml.c518 static void php_libxml_internal_error_handler(int error_type, void *ctx, const char **msg, va_list ap) argument
541 switch (error_type) {
/PHP_TRUNK/ext/standard/
H A Dincomplete_class.c37 static void incomplete_class_message(zval *object, int error_type) argument
44 php_error_docref(NULL, error_type, INCOMPLETE_CLASS_MSG, class_name->val);
47 php_error_docref(NULL, error_type, INCOMPLETE_CLASS_MSG, "unknown");
H A Ddl.c96 int error_type; local
106 error_type = E_WARNING;
108 error_type = E_CORE_WARNING;
137 php_error_docref(NULL, error_type, "Unable to load dynamic library '%s' - %s", libpath, err);
140 php_error_docref(NULL, error_type, "Unable to load dynamic library '%s' - %s", libpath, "Unknown reason");
143 php_error_docref(NULL, error_type, "Unable to load dynamic library '%s' - %s", libpath, GET_DL_ERROR());
164 php_error_docref(NULL, error_type, "Invalid library (appears to be a Zend Extension, try loading using zend_extension=%s from php.ini)", filename);
168 php_error_docref(NULL, error_type, "Invalid library (maybe not a PHP library) '%s'", filename);
207 php_error_docref(NULL, error_type,
217 php_error_docref(NULL, error_type,
[all...]
/PHP_TRUNK/main/
H A Drfc1867.c1230 zval file_size, error_type; local
1234 ZVAL_LONG(&error_type, cancel_upload);
1264 register_http_post_files_variable_ex(lbuf, &error_type, &PG(http_globals)[TRACK_VARS_FILES], 0);
/PHP_TRUNK/Zend/
H A Dzend_builtin_functions.c201 ZEND_ARG_INFO(0, error_type)
1610 /* {{{ proto void trigger_error(string message [, int error_type])
1614 zend_long error_type = E_USER_NOTICE; local
1618 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|l", &message, &message_len, &error_type) == FAILURE) {
1622 switch (error_type) {
1634 zend_error((int)error_type, "%s", message);
1645 zend_long error_type = E_ALL; local
1647 if (zend_parse_parameters(ZEND_NUM_ARGS(), "z|l", &error_handler, &error_type) == FAILURE) {
1674 EG(user_error_handler_error_reporting) = (int)error_type;
H A Dzend_API.c1865 ZEND_API void zend_check_magic_method_implementation(const zend_class_entry *ce, const zend_function *fptr, int error_type) /* {{{ */ argument
1877 zend_error(error_type, "Destructor %s::%s() cannot take arguments", ce->name->val, ZEND_DESTRUCTOR_FUNC_NAME);
1879 zend_error(error_type, "Method %s::%s() cannot accept any arguments", ce->name->val, ZEND_CLONE_FUNC_NAME);
1882 zend_error(error_type, "Method %s::%s() must take exactly 1 argument", ce->name->val, ZEND_GET_FUNC_NAME);
1884 zend_error(error_type, "Method %s::%s() cannot take arguments by reference", ce->name->val, ZEND_GET_FUNC_NAME);
1888 zend_error(error_type, "Method %s::%s() must take exactly 2 arguments", ce->name->val, ZEND_SET_FUNC_NAME);
1890 zend_error(error_type, "Method %s::%s() cannot take arguments by reference", ce->name->val, ZEND_SET_FUNC_NAME);
1894 zend_error(error_type, "Method %s::%s() must take exactly 1 argument", ce->name->val, ZEND_UNSET_FUNC_NAME);
1896 zend_error(error_type, "Method %s::%s() cannot take arguments by reference", ce->name->val, ZEND_UNSET_FUNC_NAME);
1900 zend_error(error_type, "Metho
1937 int error_type; local
[all...]
H A Dzend_execute.c561 ZEND_API void zend_verify_arg_error(int error_type, const zend_function *zf, uint32_t arg_num, const char *need_msg, const char *need_kind, const char *given_msg, const char *given_kind, zval *arg) argument
584 zend_error(error_type, "Argument %d passed to %s%s%s() must %s%s, %s%s given, called in %s on line %d and defined", arg_num, fclass, fsep, fname, need_msg, need_kind, given_msg, given_kind, ptr->func->op_array.filename->val, ptr->opline->lineno);
586 zend_error(error_type, "Argument %d passed to %s%s%s() must %s%s, %s%s given", arg_num, fclass, fsep, fname, need_msg, need_kind, given_msg, given_kind);
593 zend_error(error_type, "Argument %d passed to %s%s%s() must %s%s, %s%s given", arg_num, fclass, fsep, fname, need_msg, need_kind, given_msg, given_kind);
754 ZEND_API void zend_verify_return_error(int error_type, const zend_function *zf, const char *need_msg, const char *need_kind, const char *returned_msg, const char *returned_kind) argument
768 zend_error(error_type,

Completed in 21 milliseconds