Searched refs:error_type (Results 1 - 8 of 8) sorted by relevance

/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);
173 php_error_docref(NULL, error_type,
183 php_error_docref(NULL, error_type,
[all...]
/PHP_TRUNK/Zend/
H A Dzend_API.h279 ZEND_API void zend_check_magic_method_implementation(const zend_class_entry *ce, const zend_function *fptr, int error_type);
H A Dzend_builtin_functions.c202 ZEND_ARG_INFO(0, error_type)
1621 /* {{{ proto void trigger_error(string message [, int error_type])
1625 zend_long error_type = E_USER_NOTICE; local
1629 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|l", &message, &message_len, &error_type) == FAILURE) {
1633 switch (error_type) {
1645 zend_error((int)error_type, "%s", message);
1656 zend_long error_type = E_ALL; local
1658 if (zend_parse_parameters(ZEND_NUM_ARGS(), "z|l", &error_handler, &error_type) == FAILURE) {
1685 EG(user_error_handler_error_reporting) = (int)error_type;
H A Dzend_execute.c559 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
582 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);
584 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);
591 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);
752 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
766 zend_error(error_type,
H A Dzend_API.c1868 ZEND_API void zend_check_magic_method_implementation(const zend_class_entry *ce, const zend_function *fptr, int error_type) /* {{{ */ argument
1880 zend_error(error_type, "Destructor %s::%s() cannot take arguments", ce->name->val, ZEND_DESTRUCTOR_FUNC_NAME);
1882 zend_error(error_type, "Method %s::%s() cannot accept any arguments", ce->name->val, ZEND_CLONE_FUNC_NAME);
1885 zend_error(error_type, "Method %s::%s() must take exactly 1 argument", ce->name->val, ZEND_GET_FUNC_NAME);
1887 zend_error(error_type, "Method %s::%s() cannot take arguments by reference", ce->name->val, ZEND_GET_FUNC_NAME);
1891 zend_error(error_type, "Method %s::%s() must take exactly 2 arguments", ce->name->val, ZEND_SET_FUNC_NAME);
1893 zend_error(error_type, "Method %s::%s() cannot take arguments by reference", ce->name->val, ZEND_SET_FUNC_NAME);
1897 zend_error(error_type, "Method %s::%s() must take exactly 1 argument", ce->name->val, ZEND_UNSET_FUNC_NAME);
1899 zend_error(error_type, "Method %s::%s() cannot take arguments by reference", ce->name->val, ZEND_UNSET_FUNC_NAME);
1903 zend_error(error_type, "Metho
1940 int error_type; local
[all...]
H A Dzend_execute.h52 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);
53 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);
/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) {

Completed in 22 milliseconds