Patch php_error_docref-strip-leading-dashes for Scripting Engine problem Bug #60732
Patch version 2012-01-12 17:22 UTC
Return to Bug #60732 |
Download this patch
Patch Revisions:
Developer: vrana@php.net
Index: main.c
===================================================================
--- main.c (revision 322148)
+++ main.c (working copy)
@@ -775,6 +775,9 @@
/* 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 {
|