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

/PHP_TRUNK/ext/standard/
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...]
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");
/PHP_TRUNK/ext/libxml/
H A Dlibxml.c533 static void php_libxml_internal_error_handler(int error_type, void *ctx, const char **msg, va_list ap) argument
556 switch (error_type) {
/PHP_TRUNK/Zend/
H A Dzend_API.h282 ZEND_API void zend_check_magic_method_implementation(const zend_class_entry *ce, const zend_function *fptr, int error_type);
H A Dzend_API.c2081 ZEND_API void zend_check_magic_method_implementation(const zend_class_entry *ce, const zend_function *fptr, int error_type) /* {{{ */ argument
2093 zend_error(error_type, "Destructor %s::%s() cannot take arguments", ce->name->val, ZEND_DESTRUCTOR_FUNC_NAME);
2095 zend_error(error_type, "Method %s::%s() cannot accept any arguments", ce->name->val, ZEND_CLONE_FUNC_NAME);
2098 zend_error(error_type, "Method %s::%s() must take exactly 1 argument", ce->name->val, ZEND_GET_FUNC_NAME);
2100 zend_error(error_type, "Method %s::%s() cannot take arguments by reference", ce->name->val, ZEND_GET_FUNC_NAME);
2104 zend_error(error_type, "Method %s::%s() must take exactly 2 arguments", ce->name->val, ZEND_SET_FUNC_NAME);
2106 zend_error(error_type, "Method %s::%s() cannot take arguments by reference", ce->name->val, ZEND_SET_FUNC_NAME);
2110 zend_error(error_type, "Method %s::%s() must take exactly 1 argument", ce->name->val, ZEND_UNSET_FUNC_NAME);
2112 zend_error(error_type, "Method %s::%s() cannot take arguments by reference", ce->name->val, ZEND_UNSET_FUNC_NAME);
2116 zend_error(error_type, "Metho
2153 int error_type; local
[all...]
H A Dzend_builtin_functions.c203 ZEND_ARG_INFO(0, error_type)
1635 /* {{{ proto void trigger_error(string message [, int error_type])
1639 zend_long error_type = E_USER_NOTICE; local
1643 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|l", &message, &message_len, &error_type) == FAILURE) {
1647 switch (error_type) {
1659 zend_error((int)error_type, "%s", message);
1670 zend_long error_type = E_ALL; local
1672 if (zend_parse_parameters(ZEND_NUM_ARGS(), "z|l", &error_handler, &error_type) == FAILURE) {
1699 EG(user_error_handler_error_reporting) = (int)error_type;
H A Dzend_execute_API.c1327 int error_type = (fetch_type & ZEND_FETCH_CLASS_EXCEPTION) ?
1329 zend_error(error_type, "Cannot access self:: when no class scope is active");
1334 int error_type = (fetch_type & ZEND_FETCH_CLASS_EXCEPTION) ?
1336 zend_error(error_type, "Cannot access parent:: when no class scope is active");
1340 int error_type = (fetch_type & ZEND_FETCH_CLASS_EXCEPTION) ?
1342 zend_error(error_type, "Cannot access parent:: when current class scope has no parent");
1348 int error_type = (fetch_type & ZEND_FETCH_CLASS_EXCEPTION) ?
1350 zend_error(error_type, "Cannot access static:: when no class scope is active");
1367 int error_type = (fetch_type & ZEND_FETCH_CLASS_EXCEPTION) ?
1370 zend_error(error_type, "Interfac
[all...]

Completed in 20 milliseconds