Skip to content

Commit 3675b95

Browse files
committed
Merge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5
* 'PHP-5.5' of https://git.php.net/repository/php-src: - Fixed bug #60732 (php_error_docref links to invalid pages) patch by: Jakub Vrana
2 parents ec7ac71 + d01ca13 commit 3675b95

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)