Skip to content

Commit d01ca13

Browse files
committed
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4: - Fixed bug #60732 (php_error_docref links to invalid pages) patch by: Jakub Vrana
2 parents 157ccaf + 6ba93a4 commit d01ca13

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

main/main.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -784,6 +784,9 @@ PHPAPI void php_verror(const char *docref, const char *params, int type, const c
784784
/* no docref given but function is known (the default) */
785785
if (!docref && is_function) {
786786
int doclen;
787+
while (*function == '_') {
788+
function++;
789+
}
787790
if (space[0] == '\0') {
788791
doclen = spprintf(&docref_buf, 0, "function.%s", function);
789792
} else {

0 commit comments

Comments
 (0)