mirror of
https://github.com/php/php-src.git
synced 2024-10-02 23:36:16 +00:00
Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src: - Fixed bug #60732 (php_error_docref links to invalid pages) patch by: Jakub Vrana
This commit is contained in:
commit
2d654dc337
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user