|
|
|
@ -509,7 +509,11 @@ PHPAPI void php_verror(const char *docref, const char *params, int type, const c |
|
|
|
|
|
|
|
/* no docref given but function is known (the default) */ |
|
|
|
if (!docref && is_function) { |
|
|
|
spprintf(&docref_buf, 0, "function.%s", function); |
|
|
|
if (space[0] == '\0') { |
|
|
|
spprintf(&docref_buf, 0, "function.%s", function); |
|
|
|
} else { |
|
|
|
spprintf(&docref_buf, 0, "function.%s-%s", class_name, function); |
|
|
|
} |
|
|
|
while((p = strchr(docref_buf, '_')) != NULL) { |
|
|
|
*p = '-'; |
|
|
|
} |
|
|
|
|