diff options
| -rw-r--r-- | NEWS | 1 | ||||
| -rw-r--r-- | main/main.c | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -7,6 +7,7 @@ PHP NEWS (David Soria Parra, Laruence) . Fixed bug #65088 (Generated configure script is malformed on OpenBSD). (Adam) + . Fixed bug #60732 (php_error_docref links to invalid pages). (Jakub Vrana) - CLI server: . Fixed bug #65066 (Cli server not responsive when responding with 422 http diff --git a/main/main.c b/main/main.c index c0db64d184..2821dfcdca 100644 --- a/main/main.c +++ b/main/main.c @@ -784,6 +784,9 @@ 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) { int doclen; + while (*function == '_') { + function++; + } if (space[0] == '\0') { doclen = spprintf(&docref_buf, 0, "function.%s", function); } else { |
