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_execute_API.c1318 int error_type = (fetch_type & ZEND_FETCH_CLASS_EXCEPTION) ?
1320 zend_error(error_type, "Cannot access self:: when no class scope is active");
1325 int error_type = (fetch_type & ZEND_FETCH_CLASS_EXCEPTION) ?
1327 zend_error(error_type, "Cannot access parent:: when no class scope is active");
1331 int error_type = (fetch_type & ZEND_FETCH_CLASS_EXCEPTION) ?
1333 zend_error(error_type, "Cannot access parent:: when current class scope has no parent");
1339 int error_type = (fetch_type & ZEND_FETCH_CLASS_EXCEPTION) ?
1341 zend_error(error_type, "Cannot access static:: when no class scope is active");
1358 int error_type = (fetch_type & ZEND_FETCH_CLASS_EXCEPTION) ?
1361 zend_error(error_type, "Interfac
[all...]
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.c2067 ZEND_API void zend_check_magic_method_implementation(const zend_class_entry *ce, const zend_function *fptr, int error_type) /* {{{ */ argument
2079 zend_error(error_type, "Destructor %s::%s() cannot take arguments", ce->name->val, ZEND_DESTRUCTOR_FUNC_NAME);
2081 zend_error(error_type, "Method %s::%s() cannot accept any arguments", ce->name->val, ZEND_CLONE_FUNC_NAME);
2084 zend_error(error_type, "Method %s::%s() must take exactly 1 argument", ce->name->val, ZEND_GET_FUNC_NAME);
2086 zend_error(error_type, "Method %s::%s() cannot take arguments by reference", ce->name->val, ZEND_GET_FUNC_NAME);
2090 zend_error(error_type, "Method %s::%s() must take exactly 2 arguments", ce->name->val, ZEND_SET_FUNC_NAME);
2092 zend_error(error_type, "Method %s::%s() cannot take arguments by reference", ce->name->val, ZEND_SET_FUNC_NAME);
2096 zend_error(error_type, "Method %s::%s() must take exactly 1 argument", ce->name->val, ZEND_UNSET_FUNC_NAME);
2098 zend_error(error_type, "Method %s::%s() cannot take arguments by reference", ce->name->val, ZEND_UNSET_FUNC_NAME);
2102 zend_error(error_type, "Metho
2139 int error_type; local
[all...]
H A Dzend_builtin_functions.c203 ZEND_ARG_INFO(0, error_type)
1637 /* {{{ proto void trigger_error(string message [, int error_type])
1641 zend_long error_type = E_USER_NOTICE; local
1645 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|l", &message, &message_len, &error_type) == FAILURE) {
1649 switch (error_type) {
1661 zend_error((int)error_type, "%s", message);
1672 zend_long error_type = E_ALL; local
1674 if (zend_parse_parameters(ZEND_NUM_ARGS(), "z|l", &error_handler, &error_type) == FAILURE) {
1701 EG(user_error_handler_error_reporting) = (int)error_type;

Completed in 21 milliseconds