allow target anchor only for docref parameter

This commit is contained in:
Marcus Boerger 2002-08-13 09:37:51 +00:00
parent 2eaa0f6ea1
commit 968721bc55

View File

@ -396,6 +396,10 @@ PHPAPI void php_verror(const char *docref, const char *params, int type, const c
vspprintf(&buffer, 0, format, args);
if (buffer) {
if (docref && docref[0] == '#') {
docref_target = strchr(docref, '#');
docref = NULL;
}
if (!docref) {
function = get_active_function_name(TSRMLS_C);
if (function) {